Create a pricing unit conversion rate
Adds a settlement conversion rate for a pricing unit. Date ranges may not overlap.
Authentication
AuthorizationBearer
API key obtained from the Grant dashboard
Path parameters
id
Request
This endpoint expects an object.
money_minor
Settlement currency amount in minor units, e.g. cents
unit_amount
Number of pricing-unit units represented by money_minor
effective_from
Start of this conversion rate. Required for subsequent rates after the initial open-ended rate.
effective_to
Optional exclusive end of this conversion rate
settlement_currency_code
Settlement currency. Defaults to usd.
customer_id
Optional customer scope. A scoped rate overrides the company default for this customer.
Response
Conversion rate created
success
conversion_rate
request_id
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error
