Skip to main content
POST
/
payment
/
add
/
registeredcard
Add payment via wallet
curl --request POST \
  --url https://apigw.bienport.com/api/payment/add/registeredcard \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '
{
  "subscriptionId": 12658,
  "bill": [
    12,
    34
  ],
  "installment": 123
}
'
{
  "code": "200",
  "reason": "Success",
  "message": "Payment Success",
  "status": "ok"
}

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

addPaymentViaWalletRequest

Add payment via wallet Api Model

subscriptionId
integer<int64>
required

Subscription Id

Example:

12658

bill
integer<int32>[]
required

Subscription payment plan row id.

Example:
[12, 34]
installment
integer<int32>

installment[optional]

Response

Payment Success.

Response Model for payment api

code
string
Example:

"200"

reason
string
Example:

"Success"

message
string
Example:

"Payment Success"

status
string
Example:

"ok"