Overview
You can use this API request to top-up a customer’s email/SMS quota.
The Method
| API | - | Method |
|---|---|---|
| REST | POST | https://[Your URL]/api/2.0/customers/topup/:customer_id/:package_identifier |
Parameters
Required Parameters
You must include the following parameters for the request to work.
| Property | Type | Description | Default | Required |
|---|---|---|---|---|
| $id | integer | ID of the customer to top-up. | none | yes |
| $package_id | string | Identifier for the top-up package. | none | yes |