cURL
curl --request GET \ --url https://api.ongoody.com/v1/payment_methods \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "eb72418f-940d-40b3-8653-d57fe8cc8669", "name": "Visa 1234", "cardholder_name": "Card 1" }, { "id": "99dbd764-90f4-4d00-9bf6-1eb74aabd598", "name": "Mastercard 5678", "cardholder_name": "Card 2" } ], "list_meta": { "total_count": 2 } }
Your Goody API key.
Payment methods retrieved
Show child attributes