Get a payment method for a customer
Changed onReturns a payment method for a customer using its ID and related customer ID.
Request
- Base URLhttps://sandbox-api.paddle.com
- AuthHTTP bearer
Path parameters
Unique Paddle ID for this customer entity, prefixed with ctm_.
Paddle ID of the customer entity to work with.
Paddle ID of the payment method entity to work with.
Response
The request has succeeded.
Example response
{
"data": {
"id": "paymtd_01hkm9xwqpbbpr1ksmvg3sx3v1",
"customer_id": "ctm_01grnn4zta5a1mf02jjze7y2ys",
"address_id": "add_01gm302t81w94gyjpjpqypkzkf",
"card": {
"last4": "4242",
"expiry_month": 12,
"expiry_year": 2028
},
"paypal": {
"email": "john.doe@example.com"
},
"south_korea_local_card": {
"last4": "4242"
},
"saved_at": "2024-10-12T07:20:50.52Z",
"updated_at": "2024-10-13T07:20:50.52Z"
},
"meta": {
"request_id": "b15ec92e-8688-40d4-a04d-f44cbec93355"
}
}Changes
- info
response property
data/underlying_details/anyOf[subschema #1: PaymentMethodUnderlyingDetails]/korea_local/anyOf[subschema #1: Korean market underlying details]/deprecated - info
response property
data/underlying_details/anyOf[subschema #1: PaymentMethodUnderlyingDetails]/korea_local/anyOf[subschema #1: Korean market underlying details]/typedeprecated - info
response property
data/underlying_details/anyOf[subschema #1: PaymentMethodUnderlyingDetails]/korea_local/anyOf[subschema #1: Korean market underlying details]/type/allOf[subschema #1: Korean market underlying payment method type]/deprecated
- info
- breaking
added the pattern
^ctm_[a-z\d]{26}$to thepathrequest parametercustomer_id
- breaking