Skip to main content
POST
/
api
/
v1
/
business
/
payment
/
charge
Charge a card directly (server-to-server)
curl --request POST \
  --url http://localhost:3001/api/v1/business/payment/charge \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "breezeSessionId": "breeze_sess_abc123"
}
'
{
  "success": true,
  "data": {
    "paymentId": "<string>",
    "amount": 123,
    "currency": "<string>",
    "transactionId": "<string>",
    "paymentUrl": {},
    "refundId": "<string>",
    "requiresAction": {},
    "createdAt": "2023-11-07T05:31:56Z"
  }
}

Headers

x-api-key
string
required

Body

application/json
breezeSessionId
string

Breeze Risk JS SDK session id from the browser SDK (CIT charges)

Example:

"breeze_sess_abc123"

Response

Charge processed

success
boolean
required
Example:

true

data
object
required