curl --request POST \
--url https://staging-api.capa.fi/api/partner/v2/cross-ramp \
--header 'Content-Type: application/json' \
--header 'partner-api-key: <partner-api-key>' \
--data '
{
"userId": "12a121ad-cbea-4ec4-9e0a-5c861e528bba",
"sourceCurrency": "MXN",
"targetCurrency": "USD",
"targetBankAccount": {
"accountIdentifier": "<string>",
"routingNumber": "<string>",
"bic": "<string>",
"country": "MX",
"accountType": "SAVINGS",
"bankName": "<string>",
"documentIdentifier": "<string>",
"documentType": "PASSPORT",
"accountHolder": {
"type": "INDIVIDUAL",
"businessName": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"address": {
"streetLine1": "<string>",
"streetLine2": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "US"
}
},
"sourceAmount": 1000,
"targetAmount": 50.5,
"quoteId": "<string>",
"premiumSpread": 0.01
}
'{
"success": true,
"data": {
"id": "12a121ad-cbea-4ec4-9e0a-5c861e528bba",
"userId": "12a121ad-cbea-4ec4-9e0a-5c861e528bba",
"status": "PENDING",
"exchangeRate": 0.95,
"sourceBankAccount": {
"country": "MX",
"accountIdentifier": "014680260346007120",
"isVerified": true,
"accountHolder": {
"type": "BUSINESS",
"name": "Capa.fi"
},
"bic": "DEUTDEFF",
"routingNumber": "021000021",
"address": {
"streetLine1": "123 Main St",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "US"
},
"message": "RANDOM_MESSAGE",
"bankName": "Santander",
"accountType": "SAVINGS",
"documentIdentifier": "123abc",
"documentType": "RNC",
"iban": "DE89370400440532013000"
},
"targetBankAccount": {
"country": "MX",
"accountIdentifier": "014680260346007120",
"isVerified": true,
"accountHolder": {
"type": "BUSINESS",
"name": "Capa.fi"
},
"bic": "DEUTDEFF",
"routingNumber": "021000021",
"address": {
"streetLine1": "123 Main St",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "US"
},
"message": "RANDOM_MESSAGE",
"bankName": "Santander",
"accountType": "SAVINGS",
"documentIdentifier": "123abc",
"documentType": "RNC",
"iban": "DE89370400440532013000"
},
"createdAt": "null",
"sourceCurrency": "MXN",
"targetCurrency": "DOP",
"sourceAmount": 1000,
"targetAmount": 950,
"premiumSpread": 0.01,
"completedAt": "<string>"
}
}curl --request POST \
--url https://staging-api.capa.fi/api/partner/v2/cross-ramp \
--header 'Content-Type: application/json' \
--header 'partner-api-key: <partner-api-key>' \
--data '
{
"userId": "12a121ad-cbea-4ec4-9e0a-5c861e528bba",
"sourceCurrency": "MXN",
"targetCurrency": "USD",
"targetBankAccount": {
"accountIdentifier": "<string>",
"routingNumber": "<string>",
"bic": "<string>",
"country": "MX",
"accountType": "SAVINGS",
"bankName": "<string>",
"documentIdentifier": "<string>",
"documentType": "PASSPORT",
"accountHolder": {
"type": "INDIVIDUAL",
"businessName": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"address": {
"streetLine1": "<string>",
"streetLine2": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "US"
}
},
"sourceAmount": 1000,
"targetAmount": 50.5,
"quoteId": "<string>",
"premiumSpread": 0.01
}
'{
"success": true,
"data": {
"id": "12a121ad-cbea-4ec4-9e0a-5c861e528bba",
"userId": "12a121ad-cbea-4ec4-9e0a-5c861e528bba",
"status": "PENDING",
"exchangeRate": 0.95,
"sourceBankAccount": {
"country": "MX",
"accountIdentifier": "014680260346007120",
"isVerified": true,
"accountHolder": {
"type": "BUSINESS",
"name": "Capa.fi"
},
"bic": "DEUTDEFF",
"routingNumber": "021000021",
"address": {
"streetLine1": "123 Main St",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "US"
},
"message": "RANDOM_MESSAGE",
"bankName": "Santander",
"accountType": "SAVINGS",
"documentIdentifier": "123abc",
"documentType": "RNC",
"iban": "DE89370400440532013000"
},
"targetBankAccount": {
"country": "MX",
"accountIdentifier": "014680260346007120",
"isVerified": true,
"accountHolder": {
"type": "BUSINESS",
"name": "Capa.fi"
},
"bic": "DEUTDEFF",
"routingNumber": "021000021",
"address": {
"streetLine1": "123 Main St",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "US"
},
"message": "RANDOM_MESSAGE",
"bankName": "Santander",
"accountType": "SAVINGS",
"documentIdentifier": "123abc",
"documentType": "RNC",
"iban": "DE89370400440532013000"
},
"createdAt": "null",
"sourceCurrency": "MXN",
"targetCurrency": "DOP",
"sourceAmount": 1000,
"targetAmount": 950,
"premiumSpread": 0.01,
"completedAt": "<string>"
}
}Api key for the affiliated partner that is performing the request
User's identifier
"12a121ad-cbea-4ec4-9e0a-5c861e528bba"
Source currency symbol
MXN, DOP, USD, EUR "MXN"
Target currency symbol
MXN, DOP, USD, EUR "USD"
User bank info to be saved
Show child attributes
Amount of currency from source
1000
Amount of currency that will be delivered
50.5
Identifier for the quote to be used for the transaction.
Premium spread percentage
0.01