For creating a prepaid customer, we have introduced the ability to enroll any customer and activate them later or instantly based on the newly introduced tag "activation_later." Below are the instructions for using this new tag.
- "activation_later": "Y" - This tag will attach the SIM to the customer's account but will not send it to the carrier for provisioning. The customer can activate it later.
- "activation_later": "N" - This tag will attach the SIM to the customer's account and will send it to the carrier for provisioning instantly.
If the "activation_later" tag is not included or left blank in the API, then the SIM will be sent to the carrier instantly for provisioning.
API URL : https://www.vcareapi.com:8080/customer
Tag : "activation_later": "Y",
{
"lines": [
{
"enrollment_id": "",
"password": "Test123!",
"first_name": "test",
"middle_initial": null,
"last_name": "test",
"alternate_phone_number": null,
"email": "testingcasel@gmail.com",
"service_address_one": "2132 rosewood rd",
"service_address_two": null,
"service_city": "decatur",
"service_state": "ga",
"service_zip": "30032",
"plan_id": "1665",
"esn": "8952125412541254156",
"activation_later": "Y",
"notify_bill_via_text": "Y",
"notify_bill_via_email": "Y",
"carrier": "TMB",
"activation_type": "NEWACTIVATION",
"enrollment_type": "HANDOVER",
"handover_type": "",
"model_id": [],
"billing_address_one": "181 S FRANKLIN AVE",
"billing_address_two": null,
"billing_city": "VALLEY STREAM",
"billing_state": "NY",
"billing_zip": "11516",
"port_zip_code": "",
"port_city": "",
"port_state": "",
"port_account_number": "",
"port_account_password": "",
"port_number": "",
"is_esim": "N"
}
],
"sub_source": "plans",
"parent_enrollment_id": "",
"action": "add_line_nonlifeline_customer",
"request_name": "customer",
"vendor_id": "",
"agent_id": "John Doe",
"source": "API",
"token_id": 1125901884972628,
"ip": ""
}
When the parameter "activation_later" is set to "Y" in the API request, the SIM card is not provisioned or assigned to the customer. Instead, the customer's status is updated as dispatched.
Agents can then activate the customer's SIM by using the sim_activation API. Once the activation is successful, the customer's status will be updated to 'active,' as shown in the screens below.
SIM ACTIVATION API :
{
"enrollment_id": "AGKN9724",
"action": "sim_activation",
"agent_id": "ewebsiteapi",
"source": "API",
"request_name": "inventory",
"vendor_id": "Demo"
}