GLOBAL_PAYMENT_WEBHOOK endpoint. The payload describes both sides of the cross-border payment — the on-ramp (source country/currency) and the off-ramp (destination country/currency) — along with the current order status. Verify the signature header and respond with {"callbackStatus": "SUCCESS"} to acknowledge receipt.
Request Headers
Order Status Codes
Other global payment statuses are not sent.
Payload Fields
string
The ID of the webhook endpoint that delivered this event.
string
Always
GLOBAL_PAYMENT_WEBHOOK for this event type.string
Unique identifier for the global payment order.
string
Your client-supplied order identifier. Omitted if you did not supply one.
string
Your VelaFi account (user) ID.
string
Name of the source country (e.g.,
Mexico).string
ID of the on-ramp merchant processing the source-side payment. Omitted when not set.
string
Fiat currency collected from the sender (e.g.,
MXN).string
Amount collected from the sender in the source currency.
string
Fee charged on the on-ramp side. Omitted when not set.
string
Name of the destination country (e.g.,
Hong Kong).string
ID of the off-ramp merchant processing the destination-side payment. Omitted when not set.
string
Fiat currency delivered to the recipient (e.g.,
USD).string
Amount delivered to the recipient in the destination currency.
string
Fee charged on the off-ramp side. Omitted when not set.
string
Effective exchange rate between the on-ramp and off-ramp currencies.
string
Current order status code. See the status table above.
string
Unix timestamp (milliseconds) when the order was created.
string
Unix timestamp (milliseconds) when the order was last updated.
string
Unix timestamp (milliseconds) at which this delivery attempt was signed.
Example Payload
Incoming POST body
Required Response
Return the following JSON body with HTTP status200 to acknowledge receipt:
Your response
The webhook fires only for the statuses listed above. A status can be skipped if the order has already moved on when a delivery is attempted. The same event can arrive more than once, so deduplicate on
orderId together with orderStatus. See Delivery and Retries.