Purchase Add-on

You can purchase Add-on plans to add extra call minutes, SMS, or mobile data to your active SIM at any time.

Purchase Add-on for a SIM

POST /public/sim/{phone_number}/purchase

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

phone_number

string

Phone Number of your SIM

addOnPlanIds

string[]

The add-on you want to purchase

email

string

the email associated with this SIM

paymentGateway

string

fixed value "balance"

Example

curl -X 'POST' \
  'https://1psim.api.lifeline.mobi/public/sim/{phone_number}/purchase'
  {
  "addOnPlanIds":
      ["721693ae-9230-427b-b3ff-30d4f4b6c17b",
       "d7397c93-b469-431b-9b9c-f9240d0d545b"],
  "emailAddress":"your_email",
  "paymentGateway":"balance"}

Response

{
  "statusCode": 200,
  "message": "Success Renew"
}

Last updated