POST
/
api
/
partner
/
v1
/
off-ramp
/
{transactionId}
/
user
/
{userId}
/
cancel
cURL
curl --request POST \
  --url https://staging-api.capa.fi/api/partner/v1/off-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": [
      {}
    ]
  }
}
Cancel Off Ramp Transaction

Headers

x-supported-country
string
required

Country code of the flow (MX or DO)

partner-api-key
string
required

Api key for the affiliated partner that is performing the request

Path Parameters

userId
string
required

User identifier

Example:

"8374f327-38bd-4b0b-b8a7-2524599eb903"

transactionId
string
required

Transaction identifier

Example:

"8374f327-38bd-4b0b-b8a7-2524599eb903"

Response

201 - application/json
status
string
Example:

"ok"

data
object