βEvents
Transaction success event
{ type: 'paymentSubmitted', data: { paymentType, paymentId } }
paymentType: bankTransfer|card|cryptoOrder creation event
{ "type": "orderCreated", "data": Order }Buy order example
{
"id": "123456789",
"expirationDate": "2025-06-30T12:38:32.887Z",
"cryptoAddress": "bc1qlβ¦..",
"currencyIn": "CHF",
"currencyOut": "BTC",
"marketRate": "85854.9",
"network": "bitcoin_mainnet",
"paymentMode": "bank",
"type": "buy",
"valueIn": "100",
"valueOut": "0.001165"
}Sell order (Lightning) example
Swap order example
Last updated