POST
/
customers
/
charge
/
{customerId}
{
  "message": "Payment captured successfully.",
  "result": true,
  "transaction_id": "0e99eb7c-5a45-11ef-af4e-0ef0812e6179"
}

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

Path Parameters

customerId
string
required

Query Parameters

Body

amount
number
merchant_key
string
order_id
string
preAuth
boolean

Response

200 - application/json
data
object
message
string
result
boolean
transaction_id
string