v1

latestOpenAPI 3.1.02026-07-24920300.7 KB

Retrieve

Retrieves a single payment method for an individual customer account by its unique identifier.

get/payments/{payment_id}/

Path parameters

payment_idstring required

Unique Address ID

Response

200

customerstring
billing_addressstring
{"stackTrail":"paths:/payments/{payment_id}/:get:responses:200:content:application/json:schema:properties:cc_number_ending","oasType":"schema","type":"unknown"}
public_idstring
{"stackTrail":"paths:/payments/{payment_id}/:get:responses:200:content:application/json:schema:properties:label","oasType":"schema","type":"unknown"}
token_idstring
{"stackTrail":"paths:/payments/{payment_id}/:get:responses:200:content:application/json:schema:properties:cc_holder","oasType":"schema","type":"unknown"}
cc_typeinteger
cc_exp_datestring
payment_methodstring
liveboolean
createdstring
last_updatedstring

Example response

{
  "customer": "00026001",
  "billing_address": "c4cfc106ccc411e8ada3bc764e101db1",
  "public_id": "c4d1d4e6ccc411e8ada3bc764e101db1",
  "token_id": "5CA94EAA-AADE-4918-ABEE-8C8531411BAE",
  "cc_type": 1,
  "cc_exp_date": "02/2020",
  "payment_method": "credit card",
  "created": "2018-10-10 14:43:32",
  "last_updated": "2018-10-10 14:43:32"
}