CheckoutPayRequest
Supply the tender fields appropriate to the checkout session. Raw card payments require billingZip and billingStreet.
Canonical saved payment method handle exactly as returned by the saved payment methods API. Opaque; never a provider token or vault id. Requires an authenticated customer session that owns the saved card.
Possible values: <= 255 characters
The signed-in customer's explicit consent to save this new card as a saved payment method. Requires an authenticated customer; it also accepts a session's saveCard storage offer.
shippingAddress objectnullable
lineItems object[]nullable
Possible values: <= 64 characters
Possible values: <= 255 characters
Possible values: >= 1
Possible values: >= 0
Possible values: >= 0
Possible values: >= 0
Possible values: >= 0
Possible values: <= 64 characters
Possible values: <= 64 characters
Possible values: <= 16 characters
level2 objectnullable
level3 objectnullable
Possible values: [RECURRING, SUBSCRIPTION, STANDING_ORDER, UNSCHEDULED]
giftCard objectnullable
{
"cardNumber": "string",
"expirationDate": "string",
"cvv": "string",
"cardHolderName": "string",
"savedPaymentMethodId": "string",
"billingZip": "string",
"billingStreet": "string",
"billingCity": "string",
"billingState": "string",
"billingCountry": "string",
"saveCard": true,
"shippingAddress": {
"name": "string",
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"postalCode": "string",
"country": "string"
},
"recaptchaToken": "string",
"lineItems": [
{
"productId": "string",
"description": "string",
"quantity": 0,
"unitCost": 0,
"discountAmount": 0,
"taxAmount": 0,
"totalAmount": 0,
"commodityCode": "string",
"productCode": "string",
"unitOfMeasure": "string"
}
],
"taxAmount": 0,
"level2": {},
"level3": {},
"partialAuthSupport": true,
"storedCredentialReason": "RECURRING",
"giftCard": {
"cardNumber": "string",
"pin": "string"
}
}