Charge Token
Transactions with authorizationCode can be charged with this endpoint.
/payments/charge-token
POST
https://seerbitapi.com/api/v2/payments/charge-token
This endpoint allows you to charge a customer using the authorizationCode
Headers
Name
Type
Description
Request Body
Name
Type
Description
authorizationCode*
String
code to charge
paymentReference*
String
unique payment reference for charge
publicKey*
String
merchant publickey
amount*
String
amount you want to charge
curl --location 'https://seerbitapi.com/api/v2/payments/charge-token' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTED_KEY' \
--data '{
"publicKey": "YOUR_PUBLIC_KEY",
"amount": "110",
"paymentReference": "charge_test_3451",
"authorizationCode": "ye773838jje8837abe"
}'
Last updated