The GET /payment_methods call allows your platform to look up a collection of payment methods. Payment methods represent payment data like credit cards and bank accounts, and allow your platform to charge and accept money from a payer.
previous required | string or null An opaque path for the previous page of results. Perform an HTTP GET to obtain the previous page. |
next required | string or null An opaque path for the next page of results. Perform an HTTP GET to obtain the next page. |
required | Array of objects unique An array of payment method objects. |
api_version | string |
INVALID_PARAMS
UNEXPECTED_ERROR
{- "next": null,
- "previous": null,
- "api_version": "3.0",
- "results": [
- {
- "create_time": 1512429187,
- "credit_card": {
- "auto_update": false,
- "backing_display_name": null,
- "bin": "400383",
- "card_brand": "visa",
- "card_entry_type": "card_keyed",
- "card_holder": {
- "address": {
- "city": "",
- "country": "US",
- "line1": "",
- "line2": "",
- "postal_code": "94040",
- "region": ""
}, - "email": "bob@example.com",
- "holder_name": "Bob Belcher",
- "phone": {
- "country_code": null,
- "phone_number": null,
- "type": null
}
}, - "display_name": "Visa xxxxxx4018",
- "expiration_month": 10,
- "expiration_year": 2019,
- "last_four": "4018",
- "virtual_terminal_mode": null,
- "card_on_file": false,
- "recurring": false,
- "cvv_provided": true
}, - "custom_data": null,
- "id": "00000000-6363-0000-0000-00003be52b59",
- "owner": {
- "id": "171845",
- "path": null,
- "resource": "applications"
}, - "path": "/payment_methods/00000000-6363-0000-0000-00003be52b59",
- "resource": "payment_methods",
- "status": "verified",
- "type": "credit_card",
- "api_version": "3.0"
}
]
}