Skip to main content
POST
/
customers
/
charge
/
{customerId}
A valid request URL is required to generate request examples
{
"message": "Payment captured successfully.",
"result": true,
"transaction_id": "0e99eb7c-5a45-11ef-af4e-0ef0812e6179"
}

Authorizations

Authorization
string
header
required

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

Headers

string
Example:

"9ee4a08a-2e34-11ef-af4e-0ef0812e6179"

Path Parameters

customerId
string
required

Query Parameters

string
Example:

""

Body

amount
number
Example:

1

merchant_key
string
Example:

"{{merchant_key}}"

order_id
string
Example:

"5465446"

preAuth
boolean
Example:

true

Response

200 - application/json

Charge Customer / Charge Customer PreAuth

data
object
message
string
Example:

"Payment captured successfully."

result
boolean
Example:

true

transaction_id
string
Example:

"0e99eb7c-5a45-11ef-af4e-0ef0812e6179"