Skip to main content
POST
Create Subscriptions
This API is used to create a new subscription for a customer.

Request Body

Responses

200 OK

400 Bad Request

Body

application/json
key
string
required

Merchant key, available in dashboard profile section

callback_url
string
required
cname
string
required
email
string
required
phone
string
required
plan_id
string
required
mer_reference_id
string
required
hash
string
required

to be calculated by key sort of all non-object key values of this request

pg
string

code for payment gateway, which you want to use

pg_pool_id
string

pool is from which you want to choose pg

initial_amount
string
notes
object
billing_address
object
shipping_address
object

Response

200

The response is of type object.