AuthorizePaymentRequest

Authorize payment request. In case of One-Step Authorize, customer and order objects must be filled in addition to payment info. In case of Two-Step Authorize, only the checkoutId field must be filled.

NameTypeLengthDescription
payment Payment - required
Default payment method
additionalData AdditionalData - optional
Additional data
checkoutId Uuid - optional
Unique identifier of checkout process in UUID format. Required only in the Two-Step Authorize use-case.
customer CheckoutCustomer - optional
CheckoutCustomer object
deliveryCustomer CheckoutCustomer - optional
To be used if the reciever of the order differs from the billing customer
merchantId string 50 optional
Merchant ID within the AfterPay system, part of the credentials used for AfterPay Netherlands and Belgium. If you were not provided these credentials by your Account Manager, leave empty.
order Order - optional
Order object
parentTransactionReference string 128 optional
A unique reference provided to AfterPay by a third party (merchant or Payment Service Provider). Identifies an entire order.