curl --request GET \
--url https://api.yorlet.com/v1/payment_methods \
--header 'Authorization: <api-key>'{
"count": 1,
"has_more": false,
"object": "list",
"data": [
{
"id": "<string>",
"created": 123,
"object": "payment_method",
"billing_details": {
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"country": "<string>",
"postal_code": "<string>",
"state": "<string>"
},
"email": "<string>",
"name": "<string>",
"phone": "<string>"
},
"customer": "<string>",
"status": "chargeable",
"type": "bacs_debit",
"bacs_debit": {
"fingerprint": "<string>",
"last4": "<string>",
"sort_code": "<string>"
},
"account": "<string>",
"deleted": false
}
]
}Returns a list of payment methods.
curl --request GET \
--url https://api.yorlet.com/v1/payment_methods \
--header 'Authorization: <api-key>'{
"count": 1,
"has_more": false,
"object": "list",
"data": [
{
"id": "<string>",
"created": 123,
"object": "payment_method",
"billing_details": {
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"country": "<string>",
"postal_code": "<string>",
"state": "<string>"
},
"email": "<string>",
"name": "<string>",
"phone": "<string>"
},
"customer": "<string>",
"status": "chargeable",
"type": "bacs_debit",
"bacs_debit": {
"fingerprint": "<string>",
"last4": "<string>",
"sort_code": "<string>"
},
"account": "<string>",
"deleted": false
}
]
}API Key authentication. Use "Bearer YOUR_API_KEY".
A object with a data property that contains an array of payment methods.
Total number of items in the list.
1
Whether more items are available.
false
list The Bacs debit payment method.
Show child attributes
Was this page helpful?