Skip to main content

WalletAuthorizeRequest

amountintegerrequired

Amount in minor currency units.

Possible values: >= 1

currencyCurrencyCode

Possible values: Value must match regular expression ^[A-Z]{3}$

Examples:
Example: USD
paymentTokenstringrequired

Opaque Apple Pay or Google Pay payment token.

Possible values: non-empty

externalReferenceIdstringnullable
metadata object
property name*string
lineItems object[]
  • Array [
  • productIdstringnullable

    Possible values: <= 64 characters

    descriptionstringnullable

    Possible values: <= 255 characters

    quantityintegernullable

    Possible values: >= 1

    unitCostintegernullable

    Possible values: >= 0

    discountAmountintegernullable

    Possible values: >= 0

    taxAmountintegernullable

    Possible values: >= 0

    totalAmountintegernullable

    Possible values: >= 0

    commodityCodestringnullable

    Possible values: <= 64 characters

    productCodestringnullable

    Possible values: <= 64 characters

    unitOfMeasurestringnullable

    Possible values: <= 16 characters

  • ]
  • taxAmountintegernullable

    Tax in minor currency units.

    Possible values: >= 0

    WalletAuthorizeRequest
    {
    "amount": 0,
    "currency": "USD",
    "paymentToken": "string",
    "externalReferenceId": "string",
    "metadata": {},
    "lineItems": [
    {
    "productId": "string",
    "description": "string",
    "quantity": 0,
    "unitCost": 0,
    "discountAmount": 0,
    "taxAmount": 0,
    "totalAmount": 0,
    "commodityCode": "string",
    "productCode": "string",
    "unitOfMeasure": "string"
    }
    ],
    "taxAmount": 0
    }