Recurring
- API: Recurring
- Description: Set recurring payment for the related transaction
- Path: /hosted-checkout/recurring
- Method: POST
- Request Header: Content-Type: application/json
#
Request Parametersparameter | type | require | description |
---|---|---|---|
merchantId | string | Y | Merchant ID which is assigned by BBMSL |
amount | number | Y | Recurring amount |
merchantReference | string | Y | merchant's reference number, different from create merchantReference |
parentOrderId | number | Y | Order ID which response from API Create reuccring: /hosted-checkout/create |
Example:
#
Response Parametersparameter | type | require | description |
---|---|---|---|
responseCode | string | Y | |
message | string | Y | |
order | object | Y | |
order.id | number | Y | |
order.merchantId | number | Y | |
order.merchantReference | string | Y | |
order.currency | string | Y | |
order.amount | number | Y | |
order.itemAmount | number | Y | |
order.transFee | number | Y | |
order.netAmount | number | Y | |
order.cardType | string | Y | |
order.email | string | Y | |
order.createTime | dateTime | Y | |
order.updateTime | dateTime | Y | |
order.status | string | Y | |
order.recurring | boolean | Y | |
transaction | object | Y | |
transaction.id | number | Y | |
transaction.merchantId | number | Y | |
transaction.type | string | Y | |
transaction.amount | number | Y | |
transaction.status | string | Y | |
transaction.maskedPan | string | Y | |
transaction.stan | string | Y |
Example: