Plans

Unsubscribe A Customer

2017-08-22T17:27:49+00:00

DELETE /plans/:id/subscription/:customer_id Unsubscribe a customer from a plan. No further billings will be processed. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. id The ID of the plan to which [...]

Subscribe A Customer

2017-12-05T16:27:22+00:00

POST /plans/:id/subscription/:customer_id Subscribe a customer to a plan. A customer can be billed for their subscription by credit card or bank account. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of [...]

Delete A Plan

2017-08-22T17:28:05+00:00

DELETE /plans/:id Delete a plan by ID. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. id ID of the plan to delete. ERROR CODE MESSAGE 10010 This plan [...]

Get All Plans

2017-08-22T17:29:06+00:00

GET /plans Gets basic details for all plans. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. There are no error codes specific to this action. GET ALL [...]

Get A Plan

2017-12-04T20:07:14+00:00

GET /plans/:id Gets basic detail for a plan. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. id ID of the plan you want to fetch. ERROR CODE MESSAGE [...]

Create A Plan

2017-12-04T19:56:30+00:00

POST /plans Create a plan for recurring billing. PARAMETER DETAILS username This request expects a merchant's private API key to be provided as the username with a blank password. A public API key can not be used for this type of request. frequency The frequency of the billing for the plan. Should be one of [...]