curl --request GET \
--url https://api.ongoody.com/v1/payment_methods \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "c85e8e58-6bb9-4a10-8982-5c804fbab4a4",
"name": "Visa 1234",
"cardholder_name": "Card 1"
},
{
"id": "0fabfed9-b97e-4113-860b-8843a139d559",
"name": "Mastercard 5678",
"cardholder_name": "Card 2"
}
],
"list_meta": {
"total_count": 2
}
}Your Goody API key.
Payment methods retrieved
curl --request GET \
--url https://api.ongoody.com/v1/payment_methods \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "c85e8e58-6bb9-4a10-8982-5c804fbab4a4",
"name": "Visa 1234",
"cardholder_name": "Card 1"
},
{
"id": "0fabfed9-b97e-4113-860b-8843a139d559",
"name": "Mastercard 5678",
"cardholder_name": "Card 2"
}
],
"list_meta": {
"total_count": 2
}
}