Get Configuration
Use this endpoint to retrieve the merchant’s applicable payment limits.
A request to Create Checkout may be rejected if the order amount is not between the minimumAmount and maximumAmount (inclusive).
maximumAmount is the higher of payByInstallment.maximumAmount (Pay-in-4) and consumerLending.maximumAmount (Pay Monthly). Flows that do not support Pay Monthly, such as orders containing subscriptions, express checkout with deferred shipping, or cross-border orders, are bound by the Pay-in-4 limit. This limit is enforced during the consumer flow rather than by Create Checkout, which can return 201 for an order that is later declined. Pass include=paybyinstallment and check the order amount against payByInstallment.maximumAmount before starting checkout.
minimumAmount and maximumAmount do not apply to a Cash App Pay checkout (isCashAppPay: true).
Afterpay merchant configuration does not change frequently. For this reason, the configuration response includes Cache-Control headers to minimise network round trips when using a modern HTTP client. You should call Get Configuration on a fixed schedule, preferably once per day.
Connection Timeouts
Example request
GET /v2/configuration?include=publicid&include=consumerlending&include=paybyinstallment
Authentication
Basic authentication of the form Basic <base64(username:password)>.
Headers
Query parameters
Repeat this query parameter to include optional configuration fields in the response. The endpoint always returns minimumAmount and maximumAmount.
Supported values:
publicid: includepublicId, the merchant public identifier (MPID) when one exists.consumerlending: includeconsumerLending, which indicates whether consumer lending is enabled and, when enabled, the eligible minimum and maximum order amounts.paybyinstallment: includepayByInstallment, the configured pay by installment minimum and maximum eligible order amounts.
Response
Returns a configuration object containing the following attributes.
Merchant public identifier (MPID). Returned only when include=publicid is requested and a public mapping exists for the merchant.
Returned only when include=consumerlending is requested. Indicates whether consumer lending is enabled for the merchant’s online channel and, when enabled, the eligible order amount range.
Returned only when include=paybyinstallment is requested and pay by installment is configured for the merchant. Contains the eligible order amount range for pay by installment.