Approve Custom Rate

Partners can set up a unique, custom buy-rate for a unique managed seller, such as enterprise, mid-market, or a platform. To set up a custom rate, Afterpay teams will create a custom rate via internal Afterpay tooling.

Path parameters

customRateIdstringRequired
ID of the custom rate to approve

Headers

User-AgentstringRequired
AcceptstringRequiredDefaults to application/json
Specifies media types that are acceptable for the response.

Request

This endpoint expects an object.
customRateIdstringRequired
The unique ID for the custom rate between Afterpay and the partner.
userDetailsobjectRequired
commentstringRequired
Comment specific to the custom rate request.
statusenumRequired
The de facto approval field that determines whether the rate request by Afterpay is approved or rejected by the partner.
Allowed values:
customRateTypeenumRequired
Defines whether the custom rate applies to only one seller or applies to multiple sellers under the same platform or brand.
Allowed values:
merchantIdstringRequired

Afterpay merchant id MID; this will only be available for existing sellers; for new sellers please use the reference field.

referencestringRequired

Seller or brand reference to which the custom rate is being applied; this defines the unique seller or the unique platform or brand and iswill be requested from the partner manually before the custom rate request is created.

rateDetailsobjectRequired

Response

Custom rate reviewed successfully
timestampstring

Datetime field indicating when the custom rate request was actioned, returned using the standard ISO 8601 format, in UTC Coordinated Universal Time).

errorstring
Shows any errors encountered on the response to the contract approval call.
messagestring
Any message that may be attached to the response.
customRateDetailsobject

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
503
Service Unavailable Error