Afterpay Get Payment Authorization

Overview

Get Payment Authorization is the second API call of Afterpay's two-step checkout flow following Initialize Payment Authorization. The request is sent with the PaymentId from Initialize Payment Authorization reply.

The same OrderId must be used between Initialize Payment Authorization and Get Payment Authorization requests.

In Get Payment Authorization reply, ResponseCode is used to determine if the payment was successfully processed for the order. The order can be accepted when ResponseCode is APPROVED and must be rejected if the value is DECLINED.

URI Summary

Action

URI Template

URI Example

Non-URI Request

Response

POST

/v[M.m]/stores/{StoreID}/payments/authorization/get.[format]

/v1.0/stores/stores123/payments/authorization/get.xml

XML

200 + XML response

Request Elements

Element

Optional/Required

Description

Type

Restriction

/GetPaymentAuthorizationRequest/OrderId

Required

Unique identifier for an order across all transactions of the same order.
Order Id should be the same as what is used in the InitializePaymentAuthorizationRequest

String

Min 1 character
Max 20 characters

/GetPaymentAuthorizationRequest/PaymentId

Required

Reference id element from the InitialPaymentAuthorization reply.

String

Min 16 chars
Max 64 chars

Request Example

            
            <?xml version="1.0" encoding="UTF-8"?>
            <GetPaymentAuthorizationRequest xmlns="http://api.gsicommerce.com/schema/checkout/1.0" requestId="1234567">
                <OrderId>Order-01</OrderId>
                <PaymentId>123456789123456789123456789Abcde</PaymentId>
            </GetPaymentAuthorizationRequest>
            
        

Response Elements

Element

Optional/Required

Description

Type

Restriction

/GetPaymentAuthorizationReply/PaymentContext

Required

Unique identifier of the payment transaction for the order.

ComplexType

/GetPaymentAuthorizationReply/PaymentContext/OrderId

Required

Unique identifier of the order from the GetPaymentAuthorizationRequest

String

Min 1 char
Max 20 characters

/GetPaymentAuthorizationReply/PaymentContext/TenderType

Required

Identifies the tender type.

String

Min 2 char
Max 4 characters

/GetPaymentAuthorizationReply/PaymentContext/PaymentAccountUniqueId

Required

Either a raw PAN (payment account number such as a credit card number), a token
representing a PAN, or a placeholder value for non-PAN tenders.

String

Max 22 characters

/GetPaymentAuthorizationReply/PaymentContext/PaymentAccountUniqueId@isToken

Required

Attribute that indicates whether the payment account number is tokenized

Boolean

true or false

/GetPaymentAuthorizationReply/PaymentContextFinal

Optional, not applicable to Afterpay integration

If the payment context in this reply is the final context.
If this value is true, then the payment context provided can be used for additional operations
in the workflow. If it is false then the context will be updated in the future and a new status
should be requested before any further operations in the worflow are attempted.

Boolean

true or false

/GetPaymentAuthorizationReply/ResponseCode

Required

Status code describing the current state of the authorization.

Enum

Can be any of the below

AVS
CSC
AVSCSC
APPROVED
DECLINED
PENDING
ERROR
TIMEOUT

/GetPaymentAuthorizationReply/AmountAuthorized

Required

The amount that has been authorized.

Decimal

Min 0.00
Max 9 digits
Fraction 2 digits

/GetPaymentAuthorizationReply/ExternalAuthorizationId

Optional, not applicable to Afterpay integration

This is an external transaction ID.

String

Min 16 characters
Max 64 characters
Pattern [a-zA-Z0-9.\-_]{16,64}

/GetPaymentAuthorizationReply/CreditCardResponseData

Optional, not applicable to Afterpay integration

Credit Card Response data.

ComplexType

Can have the below elements

BankAuthorizationCode
AvsResponseCode
CvvResponseCode

/GetPaymentAuthorizationReply/CreditCardResponseData/BankAuthorizationCode

Optional

Authorization Code returned by the payment processor upon a successful credit card auth.
Any order taken by the Order Service that is paid for by Credit Card MUST have this
authorization code.

String

/GetPaymentAuthorizationReply/CreditCardResponseData/AvsResponseCode

Optional

Payment Processor Response for the Address Verification System check.
For most credit cards, you will get an Approval on the AuthorizationResponseCode, even
though AVSResponseCode returns an AVS failure code. That said, it is typically considered
a significant fraudrisk to accept an order where AVSResponseCode returns an AVS failure code. Please see supporting documentation for a full list of these codes.

String

/GetPaymentAuthorizationReply/CreditCardResponseData/CvvResponseCode

Optional

Card Security Code Verification Response code.

String

/GetPaymentAuthorizationReply/PayPalResponseData

Optional, not applicable to Afterpay integration

PayPal Response data.
It may have Billing Information and/or Shipping Information.

ComplexType

This may have any of the below

BillingInformation
ShippingInformation

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation

Optional

Represents Billing Information of the order. Contains Customer Information and Address.

ComplexType

Contains two ComplexType

Contact
Address

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact

Optional

Represents the Contact Information of the customer placing the order.

ComplexType

Contains below elements

Person
PrimaryPhoneNumber
AlternatePhoneNumber
PrimaryEmailAddress
AlternateEmailAddress

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/Person

Required

Represents the Person Name, Gender and Date of Birth.

ComplexType

Contains below elements
Name
Gender
Date of Birth

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/Person/Name

Required

Represents the Salutation, FirstName, MiddleName, Last Name and Suffix Information
of the customer placing the order.

ComplexType

Contains below elements

Salutation
First Name
Middle Name
Last Name
Suffix

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/Person/Name/Salutation

Optional

Represents the Salutation of the customer placing the order.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/Person/Name/LastName

Required

Represents the Last Name of the customer placing the order.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/Person/Name/MiddleName

Optional

Represents the Middle Name of the customer placing the order.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/Person/Name/FirstName

Required

Represents the First Name of the customer placing the order.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/Person/Name/Suffix

Optional

Represents the Suffix of the customer placing the order.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/Person/Gender

Optional

Represents Gender information associated with the order.

Enum

Can be any of the below

male
female

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/Person/DateOfBirth

Optional

Represents the Date Of Birth of the customer placing the order.

Date

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/PrimaryPhoneNumber

Optional

Customer phone number used for order follow-up.

String

Numbers 0-9

Min 6 Characters
Max 16 Characters

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/AlternatePhoneNumber

Optional

Represents the Alternate Phone Number of the customer placing the order.

String

Numbers 0-9

Min 6 Characters
Max 16 Characters

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/PrimaryEmailAddress

Optional

Email address used for sending automated email receipts.

String

Min 6 Characters
Max 60 Characters

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Contact/AlternateEmailAddress

Optional

Email address used for sending automated email receipts.

String

Min 6 Characters
Max 60 Characters

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address

Optional

Represents shipping address of the customer placing the order.

The street, city, state and country of a location.
Line1, City and CountryCode are required.
Line 2, Line 3, Line 4,Building Name, PoBox, MainDivision,
MainDivisionCode, CountryName and PostalCode are optional.

ComplexType

Line1 - max 70 characters
Line2 - Min 1 character
Line3 - Min 1 character
Line4 - Min 1 character
Building Name - Min 1 character
City - Min 1 character
Main Division - Min 1 character
Main Division Code - Max 1 character
Max 10 characters
CountryName - Min 1 character
Country Code - Min 2 characters
Max 2 characters
Postal Code - Mic 3 characters
Max 10 characters

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/Line1

Required

The Line1 components contain the street address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/Line2

Optional

Address Line 2 of the Billing Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/Line3

Optional

Address Line 3 of the Billing Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/Line4

Optional

Address Line 4 of the Billing Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/BuildingName

Optional

Building Name of the Billing Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/PoBox

Optional

Post Office Box. (Do not pass PO Box as part of the request. Example: 765)

String

Numbers 0-9

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/City

Required

City of the Billing Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/MainDivision

Optional

This is the full displayable State/Province name.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/MainDivisionCode

Optional

Typically, a two- or three-digit postal abbreviation for the state or province.
This does not necessarily conform to the ISO 3166-2 code.

String

Min 1 character
Max 10 characters

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/CountryName

Optional

Country Name of the Billing Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/CountryCode

Required

Two-digit ISO country code conforming to ISO 3166 alpha 2.
See:http://en.wikipedia .org/wiki/ISO_3166-1_alpha-2

String

Min 2 characters
Max 2 characters

/GetPaymentAuthorizationReply/PayPalResponseData/BillingInformation
/Address/PostalCode

Optional

Postal code of the Billing Address.

String

Min 3 characters
Max 10 characters

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation

Optional

Represents Shipping Information of the order. Contains Customer Information and Address.

ComplexType

Contains two ComplexType

Contact
Address

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact

Optional

Represents the Contact Information for the Shipping.

ComplexType

Contains below elements

Person
PrimaryPhoneNumber
AlternatePhoneNumber
PrimaryEmailAddress
AlternateEmailAddress

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/Person

Required

Represents the Person Name, Gender and Date of Birth.

ComplexType

Contains below elements

Name
Gender
Date of Birth>

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/Person/Name

Required

Represents the Salutation, FirstName, MiddleName, Last Name and Suffix Information.

ComplexType

Contains below elements

Salutation
First Name
Middle Name
Last Name
Suffix

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/Person/Name/Salutation

Optional

Represents the Salutation of the shipping customer.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/Person/Name/LastName

Required

Represents the Last Name of the customer.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/Person/Name/MiddleName

Optional

Represents the Middle Name.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/Person/Name/FirstName

Required

Represents the First Name of the customer.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/Person/Name/Suffix

Optional

Represents the Suffix of the customer.

String

Min 1 Character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/Person/Gender

Optional

Represents Gender information associated with the order.

Enum

Can be any of the below

male
female

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/Person/DateOfBirth

Optional

Represents the Date Of Birth of the customer.

Date

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/PrimaryPhoneNumber

Optional

Customer phone number used for order follow-up.

String

Numbers 0-9

Min 6 Characters
Max 16 Characters

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/AlternatePhoneNumber

Optional

Represents the Alternate Phone Number of the customer.

String

Numbers 0-9

Min 6 Characters
Max 16 Characters

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/PrimaryEmailAddress

Optional

Email address used for sending automated email receipts.

String

Min 6 Characters
Max 60 Characters

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Contact/AlternateEmailAddress

Optional

Email address used for sending automated email receipts.

String

Min 6 Characters
Max 60 Characters

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address

Optional

Represents shipping address of the customer placing the order.

The street, city, state and country of a location.
Line1, City and CountryCode are required.
Line 2, Line 3, Line 4,Building Name, PoBox, MainDivision,
MainDivisionCode, CountryName and PostalCode are optional.

ComplexType

Line1 - max 70 characters
Line2 - Min 1 character
Line3 - Min 1 character
Line4 - Min 1 character
Building Name - Min 1 character
City - Min 1 character
Main Division - Min 1 character
Main Division Code - Max 1 character
Max 10 characters
CountryName - Min 1 character
Country Code - Min 2 characters
Max 2 characters
Postal Code - Mic 3 characters
Max 10 characters

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/Line1

Required

The Line1 components contain the street address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/Line2

Optional

Address Line 2 of the Shipping Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/Line3

Optional

Address Line 3 of the Shipping Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/Line4

Optional

Address Line 4 of the Shipping Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/BuildingName

Optional

Building Name of the Shipping Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/PoBox

Optional

Post Office Box (do not pass PO Box as part of the request. e.g. 765)

String

Numbers 0-9

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/City

Required

City of the Shipping Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/MainDivision

Optional

This is the full displayable State/Province name.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/MainDivisionCode

Optional

Typically, a two- or three-digit postal abbreviation for the state or province.
This does not necessarily conform to the ISO 3166-2 code.

String

Min 1 character
Max 10 characters

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/CountryName

Optional

Country Name of the Shipping Address.

String

Min 1 character

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/CountryCode

Required

Two-digit ISO country code conforming to ISO 3166 alpha 2.
See: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

String

Min 2 characters
Max 2 characters

/GetPaymentAuthorizationReply/PayPalResponseData/ShippingInformation
/Address/PostalCode

Optional

Postal code of the Shipping Address.

String

Min 3 characters
Max 10 characters

Response Examples

Get Payment Authorization Response can be any of the below

  1. Get Payment Authorization Response with Credit Card Data
  2. Get Payment Authorization Response with PayPal Data
  3. Get Payment Authorization Response for other tenders without Credit Card and PayPal Data

Approved Get Payment Authorization Response with Credit Card Data

            
            <?xml version="1.0" encoding="UTF-8"?>
            <GetPaymentAuthorizationReply xmlns:payment="http://schema.gsicommerce.com/payments/types/1.0/"
                                             xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
                <PaymentContext>
                    <OrderId>OrderId-01</OrderId>
                    <TenderType>VC</TenderType>
                    <PaymentAccountUniqueId isToken="false">4111111111111111</PaymentAccountUniqueId>
                </PaymentContext>
                <PaymentContextFinal>true</PaymentContextFinal>
                <ResponseCode>APPROVED</ResponseCode>
                <AmountAuthorized currencyCode="USD">50.00</AmountAuthorized>
                <CreditCardResponseData>
                    <BankAuthorizationCode>1245</BankAuthorizationCode>
                    <AvsResponseCode>Y</AvsResponseCode>
                    <CvvResponseCode>Y</CvvResponseCode>
                </CreditCardResponseData>
            </GetPaymentAuthorizationReply>
            
        

Approved Payment Authorization Status Response with PayPal Data

            
            <?xml version="1.0" encoding="UTF-8"?>
            <GetPaymentAuthorizationReply xmlns:payment="http://schema.gsicommerce.com/payments/types/1.0/"
                                             xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
                <PaymentContext>
                    <OrderId>OrderId-01</OrderId>
                    <TenderType>PY</TenderType>
                    <PaymentAccountUniqueId isToken="false">403CD11202F3E4BD3E6063AA11009A1D.sbg-vm-tx02</PaymentAccountUniqueId>
                </PaymentContext>
                <PaymentContextFinal>true</PaymentContextFinal>
                <ResponseCode>APPROVED</ResponseCode>
                <AmountAuthorized currencyCode="USD">50.00</AmountAuthorized>
                <PayPalResponseData>
                    <BillingInformation>
                        <Contact>
                            <Person>
                                <Name>
                                    <Salutation>Mr.</Salutation>
                                    <LastName>Doe</LastName>
                                    <MiddleName>William</MiddleName>
                                    <FirstName>John</FirstName>
                                    <Suffix>Sr</Suffix>
                                </Name>
                                <Gender>male</Gender>
                                <DateOfBirth>2018-05-03</DateOfBirth>
                            </Person>
                            <PrimaryPhoneNumber>55555555555</PrimaryPhoneNumber>
                            <AlternatePhoneNumber>6666666666</AlternatePhoneNumber>
                            <PrimaryEmailAddress>primary@email.com</PrimaryEmailAddress>
                            <AlternateEmailAddress>altername@email.com</AlternateEmailAddress>
                        </Contact>
                        <Address>
                            <Line1>935 First Ave</Line1>
                            <Line2>Second Floor</Line2>
                            <Line3>First Cross Street</Line3>
                            <Line4>Main Road</Line4>
                            <BuildingName>building-name</BuildingName>
                            <PoBox>16548</PoBox>
                            <City>King of Prussia</City>
                            <MainDivision>Pennsylvania</MainDivision>
                            <MainDivisionCode>PA</MainDivisionCode>
                            <CountryName>United States</CountryName>
                            <CountryCode>US</CountryCode>
                            <PostalCode>19406</PostalCode>
                        </Address>
                    </BillingInformation>
                    <ShippingInformation>
                        <Contact>
                            <Person>
                                <Name>
                                    <Salutation>Mr.</Salutation>
                                    <LastName>Doe</LastName>
                                    <MiddleName>William</MiddleName>
                                    <FirstName>John</FirstName>
                                    <Suffix>Sr</Suffix>
                                </Name>
                                <Gender>male</Gender>
                                <DateOfBirth>2018-05-03</DateOfBirth>
                            </Person>
                            <PrimaryPhoneNumber>55555555555</PrimaryPhoneNumber>
                            <AlternatePhoneNumber>6666666666</AlternatePhoneNumber>
                            <PrimaryEmailAddress>primary@email.com</PrimaryEmailAddress>
                            <AlternateEmailAddress>altername@email.com</AlternateEmailAddress>
                        </Contact>
                        <Address>
                            <Line1>935 First Ave</Line1>
                            <Line2>Second Floor</Line2>
                            <Line3>First Cross Street</Line3>
                            <Line4>Main Road</Line4>
                            <BuildingName>building-name</BuildingName>
                            <PoBox>16548</PoBox>
                            <City>King of Prussia</City>
                            <MainDivision>Pennsylvania</MainDivision>
                            <MainDivisionCode>PA</MainDivisionCode>
                            <CountryName>United States</CountryName>
                            <CountryCode>US</CountryCode>
                            <PostalCode>19406</PostalCode>
                        </Address>
                    </ShippingInformation>
                </PayPalResponseData>
            </GetPaymentAuthorizationReply>
            
        

Approved Payment Authorization Status Response without Credit Card and PayPal Data

            
            <?xml version="1.0" encoding="UTF-8"?>
            <GetPaymentAuthorizationReply xmlns:payment="http://schema.gsicommerce.com/payments/types/1.0/"
                                             xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
                <PaymentContext>
                    <OrderId>OrderId-01</OrderId>
                    <TenderType>AF</TenderType>
                    <PaymentAccountUniqueId isToken="true">AFTERPAY</PaymentAccountUniqueId>
                </PaymentContext>
                <ResponseCode>APPROVED</ResponseCode>
                <AmountAuthorized currencyCode="USD">50.00</AmountAuthorized>
            </GetPaymentAuthorizationReply>
            
        

Declined Payment Authorization Status Response

            
            <?xml version="1.0" encoding="UTF-8"?>
            <GetPaymentAuthorizationReply xmlns:payment="http://schema.gsicommerce.com/payments/types/1.0/"
                                             xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
                <PaymentContext>
                    <OrderId>OrderId-01</OrderId>
                    <TenderType>AF</TenderType>
                    <PaymentAccountUniqueId isToken="true">AFTERPAY</PaymentAccountUniqueId>
                </PaymentContext>
                <ResponseCode>DECLINED</ResponseCode>
                <AmountAuthorized currencyCode="USD">0.00</AmountAuthorized>
            </GetPaymentAuthorizationReply>
            
        

Error Payment Authorization Status Response

            
            <?xml version="1.0" encoding="UTF-8"?>
            <GetPaymentAuthorizationReply xmlns:payment="http://schema.gsicommerce.com/payments/types/1.0/"
                                             xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
                <PaymentContext>
                    <OrderId>OrderId-01</OrderId>
                    <TenderType>AF</TenderType>
                    <PaymentAccountUniqueId isToken="true">AFTERPAY</PaymentAccountUniqueId>
                </PaymentContext>
                <ResponseCode>ERROR</ResponseCode>
                <AmountAuthorized currencyCode="USD">0.00</AmountAuthorized>
            </GetPaymentAuthorizationReply>
            
        

Timeout Payment Authorization Status Response

            
            <?xml version="1.0" encoding="UTF-8"?>
            <GetPaymentAuthorizationReply xmlns:payment="http://schema.gsicommerce.com/payments/types/1.0/"
                                             xmlns="http://api.gsicommerce.com/schema/checkout/1.0">
                <PaymentContext>
                    <OrderId>OrderId-01</OrderId>
                    <TenderType>AF</TenderType>
                    <PaymentAccountUniqueId isToken="true">AFTERPAY</PaymentAccountUniqueId>
                </PaymentContext>
                <ResponseCode>TIMEOUT</ResponseCode>
                <AmountAuthorized currencyCode="USD">0.00</AmountAuthorized>
            </GetPaymentAuthorizationReply>
            
        

Next Step

After a successful Get Payment Authorization call, the next step may be for user to confirm the order.