get https://restapi.ordergroove.com/payments/
Returns a list of all customer payment methods available to the merchant.
Authentication
✔️ Application API Scope
✔️ Storefront API Scope
Note: Application API Scope with Bulk Operations permission is required to list payments for more than one customer.
Response Body Definitions
Name | Type | Description | Example |
---|---|---|---|
customer | string | Customer ID | "00026001" |
billing_address | string | Customer billing address (encrypted) | "c4cfc106ccc411e8ada3bc764e101db1" |
cc_number_ending | string | Last four digits of credit card number | "4111" |
public_id | string | Payment ID | "f9cb2f93e1c845eb9de9eff46ddb3cbf" |
label | string | ||
token_id | string | ||
cc_holder | string | Cardholder name | "John Doe" |
cc_type | integer | Credit card type code | 1 |
cc_exp_date | string | Expiration date (format: MM/YYYY) | "11/2028" |
payment_method | string | Payment method: - credit card - paypal | "credit card" |
live | boolean | Account status: active = True | True |
created | string | Date of payment method creation | "2018-10-10 14:43:32" |
last_updated | string | Date of last payment method update | "2018-10-10 14:43:32" |