API reference · Accounts
Get payment methods
GET/v1/accounts/{accountId}/payment-methods
List the enabled payment methods.
Requires a Bearer access token.
Parameters
This field has no description in the spec.
accountId#stringin pathrequired
Response
200 · PaymentMethod[]No field is described in the spec.
paymentMethodId#stringalways returnedstatus#PaymentMethodStatusalways returnedENABLEDFAILEDDISABLEDtype#PaymentMethodTypealways returnedPAYMENT_CARDSEPA_DIRECT_DEBITBANK_TRANSFERexternalPaymentMethodId#stringaccountId#stringalways returnedcreatedAt#string (date-time)always returnedupdatedAt#string (date-time)always returnedtoken#stringexpiryDate#stringexternalRecurringPayinRegistrationId#string
Errors
401Unauthorized
Missing, expired or invalid access token.
{ "statusCode": 401, "message": "Unauthorized" }403Forbidden
{ "statusCode": 403, "message": "Forbidden" }403Account closed
{ "message": "Account closed", "code": "ACCOUNT_CLOSED" }404Not Found
No resource with this id on your account: the API answers as if it did not exist.
{ "statusCode": 404, "message": "Not Found" }
curl -X GET https://api.sandbox.charitips.com/v1/accounts/<accountId>/payment-methods \ -H "Authorization: Bearer $CHARITIPS_TOKEN"Request bodies are written for this docs and checked against the API's validation; ids in angle brackets are placeholders. Response values are placeholders built from the schema.