Order Batches
Payment Methods
Commerce User Payment Methods
Workspaces
Schemas
- Schemas
Payment Methods
List all payment methods
GET
/
v1
/
payment_methods
Copy
Ask AI
curl --request GET \
--url https://api.ongoody.com/v1/payment_methods \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"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
}
}
Authorizations
Your Goody API key.
Response
200
application/json
Payment methods retrieved
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.ongoody.com/v1/payment_methods \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"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
}
}
Assistant
Responses are generated using AI and may contain mistakes.