Create Corridor Rate
POST /v2/send/corridor-rates
Create a new corridor rate
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ”API Key
API Secret
Request Body required
Section titled “Request Body required ”object
Corridor name
USDC/PAKForeign key to exchange_rate table for stablecoin-to-fiat rate
e271bc5c-f870-44cd-8462-54280d0411f6Foreign key to exchange_rate table for fiat-to-fiat rate
e271bc5c-f870-44cd-8462-54280d0411f6Minimum tolerance rate in base units (6 decimals). e.g., 990000 = 0.9900
990000Maximum tolerance rate in base units (6 decimals). e.g., 1001000 = 1.0010
1001000Responses
Section titled “ Responses ”Corridor rate created successfully
object
The corridor ID
e271bc5c-f870-44cd-8462-54280d0411f6Corridor name
USDC/PAKStablecoin to intermediate fiat rate (e.g., USDC/USD) with 6 decimals of precision
1000000Intermediate fiat to destination fiat rate (e.g., USD/PKR) with 6 decimals of precision
27850000Combined exchange rate (final USDC to destination fiat rate) with 6 decimals of precision
27850000Minimum tolerance rate in base units (6 decimals). Rate value for comparison, e.g., 990000 = 0.9900
990000Maximum tolerance rate in base units (6 decimals). Rate value for comparison, e.g., 1001000 = 1.0010
1001000When this rate was calculated
When this rate expires
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error