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
e271bc5c-f870-44cd-8462-54280d0411f6Header Parameters
Section titled “Header Parameters ”API Key
API Secret
Request Body required
Section titled “Request Body required ”object
Foreign 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)
990000Maximum tolerance rate in base units (6 decimals)
1001000Responses
Section titled “ Responses ”The resource has been successfully updated.
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