cURL
curl --request POST \ --url https://staging-api.capa.fi/api/partner/v1/on-ramp/{transactionId}/user/{userId}/cancel \ --header 'partner-api-key: <partner-api-key>' \ --header 'x-supported-country: <x-supported-country>'
{ "status": "ok", "data": { "id": "<string>", "userId": "<string>", "status": "<string>", "fromAmount": 123, "fiatCurrencyId": "<string>", "blockchainToTokenId": "<string>", "exchangeRate": 123, "type": "<string>", "userBankInfo": [ {} ] } }
Country code of the flow (MX or DO)
Api key for the affiliated partner that is performing the request
User identifier
"8374f327-38bd-4b0b-b8a7-2524599eb903"
Transaction identifier
"ok"
Show child attributes