GetCustomerStoredPaymentMethod

  • id
    Type: string

    ID of the stored payment method - will be used to initialize payment

  • payment_method_id
    Type: string

    UUID of a registered payment method

  • preselected
    Type: boolean

    Defines which payment method should be pre-selected for the customer on checkout - based on last-touched (last-used) payment method for the customer

  • properties
    Type: object
    • card_type
      enum

      String ID for Card Type

      enums: 'visa','mastercard','amex','diners','maestro','jcb','redcompra','carnet','paystackVerve','discover','giftCards'

      values
      • visa
      • mastercard
      • amex
      • diners
      • maestro
    • expiration_date
      Type: string

      Month / Year in which credit card will expire

    • last_four_digits
      Type: string

      Last 4 digits of credit card number (PAN)

    • masked_number
      Type: string

      First 6 digits and last 4 digits of credit card number (PAN) - some payment processors may only return last 4 digits

Examples
{
  "id": "85688223-b4ee-4c0f-8593-513c182ef7b1",
  "payment_method_id": "027b59de-97cb-48a0-9404-37f426659bad",
  "preselected": true,
  "properties": {
    "card_type": "Visa",
    "masked_number": "901010******0004",
    "expiration_date": "12/2024",
    "last_four_digits": "0004"
  }
}