Approve Contract

Partners can set up their unique, volume-based buy-rate contract that precisely enforces their commercial agreement with Afterpay. This prevents any mis-billings from day one and has with a full audit trail.

Path Parameters

contractIdstringRequired
ID of the contract to approve

Headers

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

Request

This endpoint expects an object.
contractIdstringRequired
The unique ID for the contract between Afterpay and the partner.
userDetailsobjectRequired
commentstringRequired
Comment specific to the contract request.
statusenumRequired
The de facto approval field that determines whether the contract request by Afterpay is approved or rejected by the partner.
Allowed values:
countryCodestringRequired

Country code in the two-letter ISO 3166-1 alpha-2 standard format, defining the consumer market for which the rates apply.

buyRatesobjectRequired

Response

Contract reviewed successfully
timestampstring or null

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

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

Errors