Create Corridor Rate
POST /v2/send/corridor-rates
Create a new corridor rate
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Corridor name
USDC/PAKForeign key to exchange_rate table for stablecoin-to-fiat rate
82c4fce1-d2c7-48cb-a647-6993dbe37819Foreign key to exchange_rate table for fiat-to-fiat rate
82c4fce1-d2c7-48cb-a647-6993dbe37819Minimum 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
82c4fce1-d2c7-48cb-a647-6993dbe37819Corridor 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