Skip to main content
POST
Execute a universal outbound payment (alias of /api/pay)

Authorizations

Authorization
string
header
required

API key prefixed with 'Bearer sx_live_...'

Body

application/json
card_id
string
required

Card identifier (sx_...)

card_token
string
required

Card secret token (tok_...)

url
string
required

The external payment-protected URL to pay

method
string
default:POST

HTTP method to use when probing the URL

body
object

JSON request body to trigger a priced challenge

headers
object

Optional headers for the probe request

Response

Payment successful

success
boolean
transaction_id
string
amount_debited
number
merchant_amount
number
platform_fee
number
token
string
network
string
protocol
string
settlement
object