Prepaid endpoint
This topic provides a quick reference for the method signatures of prepaid API methods.
Location: http://smile.example.com:port/stage/smile/ws/v2/prepaid
WSDL: http://smile.example.com:port/stage/smile/ws/v2/prepaid?wsdl
| Method | Method signature | Purpose |
|---|---|---|
| addPrepaid() |
|
Adds a prepaid block to a subscription, but does not charge for the prepaid or raise an invoice. |
| addSelfServePrepaid() |
|
Adds a self-serve prepaid block to a subscription and charges for the block. |
| getPrepaidPaymentTypes() |
|
Returns a list of payment methods that can be used to buy self-serve prepaid blocks. |
| getPrepaidState() |
|
Returns a list of prepaid blocks and their current state by USN. |
| getQuote() |
|
Returns the cost to buy a self-serve prepaid block with a specific payment method. |
| getSelfServePrepaidList() |
|
Returns a list of self-serve prepaid blocks available to purchase. |
| redeemVoucher() |
|
Consumes a voucher and adds prepaid to a subscription. |
| updatePrepaid() | |
Updates a purchased prepaid block on a subscription. |
| validateVoucher() |
|
Verifies that a voucher is valid. |