Response [200 Ok]

Uri /api/v2/cart/billing!paymentmethod
UriDescription BillingPaymentMethod
EndpointType BillingPaymentMethod
Locator BillingPaymentMethod
LocatorType Object

BillingPaymentMethod [1 of 1]
/api/v2/cart/billing!paymentmethod

Uri /api/v2/cart/billing!paymentmethod
UriDescription BillingPaymentMethod
ExpirationMonth empty string
ExpirationYear empty string
Type Unknown
WalletType empty string

Timing

Total

cycles 1
objects 0
time 0.05093

Request

Uri /api/v2/cart/billing!paymentmethod
Method GET
Version v2

Config

{
    "expand_method": "ref",
    "shorturis": false
}

Options

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

PATCH

Permissions
  • Modify

DELETE

Permissions
  • Modify

Parameters

PATCH

DELETE

Output Fields

Brand select
  • American Express
  • Amazon Pay
  • iTunes Store
  • Apple Pay
  • Carte Blanche
  • Diners Club
  • Discover
  • Google Pay
  • JCB
  • Maestro
  • Mastercard
  • Paypal
  • Unknown
  • UnionPay
  • Visa
ExpirationMonth text
ExpirationYear text
Identifier text
PaymentMethodID text
Type select
  • Unknown
  • Amazon Pay
  • Apple IAP
  • Apple Pay
  • Credit Card
  • Google Pay
  • PayPal
WalletType select
  • Apple Pay
  • Google Pay

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/cart/billing!paymentmethod"
    },
    "Options": {
        "MethodDetails": {
            "OPTIONS": {
                "Permissions": [
                    "Read"
                ]
            },
            "GET": {
                "Permissions": [
                    "Read"
                ]
            },
            "PATCH": {
                "Permissions": [
                    "Modify"
                ]
            },
            "DELETE": {
                "Permissions": [
                    "Modify"
                ]
            }
        },
        "Methods": [
            "OPTIONS",
            "GET",
            "PATCH",
            "DELETE"
        ],
        "ParameterDescription": {
            "Varchar": "Variable length text from MIN_CHARS to MAX_CHARS (MAX_CHARS = INFINITY meaning arbitrary length)"
        },
        "Parameters": {
            "PATCH": [
                {
                    "Name": "PaymentMethodID",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Varchar",
                    "MIN_CHARS": 0,
                    "MAX_CHARS": 255
                }
            ],
            "DELETE": []
        },
        "MediaTypes": [
            "application/json",
            "application/vnd.php.serialized",
            "application/x-msgpack",
            "text/html",
            "text/csv"
        ],
        "Output": [
            {
                "Name": "PaymentMethodID",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 255
            },
            {
                "Name": "Type",
                "Type": "Select",
                "OPTIONS": [
                    "Unknown",
                    "Amazon Pay",
                    "Apple IAP",
                    "Apple Pay",
                    "Credit Card",
                    "Google Pay",
                    "PayPal"
                ],
                "MIN_COUNT": 1,
                "MAX_COUNT": 1
            },
            {
                "Name": "Brand",
                "Type": "Select",
                "OPTIONS": [
                    "American Express",
                    "Amazon Pay",
                    "iTunes Store",
                    "Apple Pay",
                    "Carte Blanche",
                    "Diners Club",
                    "Discover",
                    "Google Pay",
                    "JCB",
                    "Maestro",
                    "Mastercard",
                    "Paypal",
                    "Unknown",
                    "UnionPay",
                    "Visa"
                ],
                "MIN_COUNT": 1,
                "MAX_COUNT": 1
            },
            {
                "Name": "Identifier",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": "INFINITY"
            },
            {
                "Name": "ExpirationMonth",
                "Type": "Varchar",
                "MIN_CHARS": 2,
                "MAX_CHARS": 2
            },
            {
                "Name": "ExpirationYear",
                "Type": "Varchar",
                "MIN_CHARS": 4,
                "MAX_CHARS": 4
            },
            {
                "Name": "WalletType",
                "Type": "Select",
                "OPTIONS": [
                    "Apple Pay",
                    "Google Pay"
                ],
                "MIN_COUNT": 1,
                "MAX_COUNT": 1
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/cart/billing!paymentmethod",
        "Locator": "BillingPaymentMethod",
        "LocatorType": "Object",
        "BillingPaymentMethod": {
            "Type": "Unknown",
            "ExpirationMonth": "",
            "ExpirationYear": "",
            "WalletType": "",
            "Uri": "/api/v2/cart/billing!paymentmethod",
            "UriDescription": "BillingPaymentMethod"
        },
        "UriDescription": "BillingPaymentMethod",
        "EndpointType": "BillingPaymentMethod",
        "Timing": {
            "Total": {
                "time": 0.05093,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}