POST
/
api
/
partner
/
v2
/
cross-ramp
/
quotes
cURL
curl --request POST \
  --url https://staging-api.capa.fi/api/partner/v2/cross-ramp/quotes \
  --header 'Content-Type: application/json' \
  --header 'partner-api-key: <partner-api-key>' \
  --data '{
  "sourceCurrency": "MXN",
  "targetCurrency": "USD",
  "sourceAmount": 5000,
  "targetAmount": 100,
  "premiumSpread": 0.01
}'
{
  "success": true,
  "data": {
    "sourceAmount": 5000,
    "sourceCurrency": "DOP, MXN, USD",
    "targetAmount": 40,
    "targetCurrency": "DOP, MXN, USD",
    "rate": 57.01,
    "premiumSpread": 0.01,
    "flow": "REGULAR | OTC",
    "quoteId": "123e4567-e89b-12d3-a456-426614174000",
    "expiresAt": "2025-01-01T00:00:00.000Z"
  }
}

Headers

partner-api-key
string
required

Api key for the affiliated partner that is performing the request

Body

application/json
sourceCurrency
enum<string>
required

The source fiat currency symbol

Available options:
MXN,
DOP,
USD,
EUR
Example:

"MXN"

targetCurrency
enum<string>
required

The target fiat currency symbol

Available options:
MXN,
DOP,
USD,
EUR
Example:

"USD"

sourceAmount
number

The amount of source fiat currency to convert

Example:

5000

targetAmount
number

The desired amount of target fiat currency to receive

Example:

100

premiumSpread
number

Spread percentage to be applied to the exchange rate

Example:

0.01

Response

201 - application/json
success
boolean
Example:

true

data
object