Update Corridor Rate
PATCH /v2/send/corridor-rates/{corridorRateId}
Update an existing corridor rate
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Corridor Rate ID
Example
82c4fce1-d2c7-48cb-a647-6993dbe37819Request Body required
Section titled “Request Body required ”object
Foreign 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)
990000Maximum tolerance rate in base units (6 decimals)
1001000Responses
Section titled “ Responses ”The resource has been successfully updated.
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