Paddle Billing
Search

Get a payment method for a customer

Returns a payment method for a customer using its ID and related customer ID.

Path Parameters

customer_idstringrequired

Paddle ID of the customer entity to work with.

payment_method_idstringrequired

Paddle ID of the payment method entity to work with.

Response

dataobject

Represents a customer payment method entity.

idstring

Unique Paddle ID for this payment method entity, prefixed with paymtd_.

customer_idstring

Paddle ID of the customer that this payment method is saved for, prefixed with ctm_.

address_idstring

Paddle ID of the address for this payment method, prefixed with add_.

typestring

Type of payment method saved.

cardobject or null

Information about the credit or debit card saved. null unless type is card.

paypalobject or null

Information about the PayPal payment method saved. null unless type is paypal.

originstring

Describes how this payment method was saved.

saved_atstring<date-time>

RFC 3339 datetime string of when this entity was saved. Set automatically by Paddle.

updated_atstring<date-time>

RFC 3339 datetime string of when this entity was updated. Set automatically by Paddle.

metaobject

Information about this response.

request_idstring

Unique ID for the request relating to this response. Provide this when contacting Paddle support about a specific request.