POST
/
v1
/
charge
/
recurring-billing
/
{recurring_billing_id}
curl --request POST \
  --url https://api.sandbox.hit-pay.com/v1/charge/recurring-billing/{recurring_billing_id} \
  --header 'Content-Type: application/json' \
  --header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
  --data '{
  "amount": 123,
  "currency": "<string>"
}'
"{\n    \"payment_id\": \"9746f906-bdbb-4064-8372-642cf5877e0c\",\n    \"recurring_billing_id\": \"9746f8c2-2b7c-4c78-8832-012f203ae687\",\n    \"amount\": 100,\n    \"currency\": \"usd\",\n    \"status\": \"succeeded\"\n}"

Headers

X-BUSINESS-API-KEY
string
required
Example:

"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"

Path Parameters

recurring_billing_id
string
required

id value from the create recurring billing API

Body

application/json
amount
integer
required

Amount to charge the card

currency
string
required

The currency, example: USD

Response

200
application/json
200
payment_id
string
Example:

"9746f906-bdbb-4064-8372-642cf5877e0c"

recurring_billing_id
string
Example:

"9746f8c2-2b7c-4c78-8832-012f203ae687"

amount
integer
default:0
Example:

100

currency
string
Example:

"usd"

status
string
Example:

"succeeded"