The payment method object

Attributes

Field Name

Data Type

Description

id

string

Unique identifier for the object.

type

string

The resource type of the return object. The value is "customer_payment_method".

address

string

A string format of billing information associated with the PaymentMethod

brand

string

Brand name of the PaymentMethod. E.g Visa, Master..

country

string

2-letter country code.

cvc_check

string

If a CVC was provided, results of the check: pass, fail, unavailable, or unchecked. A result of unchecked indicates that CVC was provided but hasn’t been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge.

email

string

Email address provided by customer, associated with the Billing address

expiration_month

string

Expiration month if the PaymentMethod is a card

expiration_year

string

Expiration month if the PaymentMethod is a card

fingerprint

string

Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.

first6

string

First 6 digits of the card number(if it is a card payment)

last4

string

Last 4 digits of the card number(if it is a card payment)

funding_type

list

Funding source came from, can be CREDIT, DEBIT, PREPAID, FUNDING_TYPE_UNKNOWN

owner_name

string

Cardholder name

payment_method_type

string

Type of the PaymentMethod, ca be: Card, Kakao, Paypal

zipcode

string

Zipcode of the card's billing address

zipcode_check

string

If a CVC was provided, results of the check: pass, fail, unavailable, or unchecked. A result of unchecked indicates that zip code was provided but hasn’t been checked yet.

created_at

Integer

Timestamp of the PaymentMethod creation

payment_method_gateways

Hash

An Array of PaymentMethodGateway.
[
id: Id of the PaymentMethodGateway
type: Type of the object, always be "payment_method_gateway_reference"
psp_account_reference_id: PspAccount's reference id
psp_type: Type of the Psp account, can be "Stripe", "Adyen" etc.
charge_token: charge token from Psp used to charge this PaymentMethodGateway
fingerprint: Unique identifier of Card from the specific PSP
psp_customer_id: Customer ID is maintained on PSP side associated with this PaymentMethod's customer
created_at: Creation time of the PaymentMethodGateway
vault_option: Indicate this charge token is reusable or single use, value can be "REUSABLE", "SINGLE_USE"
]