cURL
curl --request GET \ --url https://api.ongoody.com/v1/payment_methods \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "2dbc5a55-61fd-4d75-a10c-6cbd4ffa5a51", "name": "Visa 1234", "cardholder_name": "Card 1" }, { "id": "ca1bb8c8-9c29-4814-8327-830b179afabb", "name": "Mastercard 5678", "cardholder_name": "Card 2" } ], "list_meta": { "total_count": 2 } }
Your Goody API key.
Payment methods retrieved
The response is of type object.
object