Skip to main content
GET

List payment methods

Scope:sales:invoicing-settings.read
https://api.holded.com/api/v2/payment-methods

Returns all payment methods configured for the account, including both manual methods (bank transfer, cash on delivery, cheque) and online connected providers (Stripe, PayPal, GoCardless, Square, Monei, Wallet). Use when the user asks which payment methods they have set up or how they collect payments from customers. Different from the payments endpoint which returns individual transactions — this returns the configured methods themselves. A signed-in user who can write estimates reads them too, as the estimate editor shows them every payment method. API keys still need the scope of this endpoint.

Parameters

Query parameters

cursorstringoptional

Opaque cursor for pagination. Pass the value returned in the previous response to fetch the next page.

limitintegeroptional= 50

Maximum number of payment methods to return per page. Defaults to 50, maximum 200.

Request

python
import requests

url = "https://api.holded.com/api/v2/payment-methods?cursor=value&limit=50"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "name": "string",
      "type": "manual",
      "status": "connected",
      "isDefault": false,
      "bankingAccountId": "507f1f77bcf86cd799439011",
      "dueDays": 0,
      "connectionId": "507f1f77bcf86cd799439011"
    }
  ],
  "cursor": "string",
  "has_more": false
}

Success responses

200List of payment methodsapplication/json
object
items[]object[]required
idstringrequired

Unique identifier of the payment method

namestringrequired

Display name of the payment method

typestringrequired

Discriminator for the payment method kind: 'manual' for manually created methods, or the provider slug for connected gateways (stripe, paypal, gocardless, square, monei, wallet)

Enum:manualstripepaypalgocardlesssquaremoneiwallet
statusstringrequired

Current status of the payment method: 'connected' means active and usable. Online gateways may also have disconnected, access_denied, verification_required, or verification_in_review.

Enum:connecteddisconnectedaccess_deniedverification_requiredverification_in_review
isDefaultbooleanrequired

Whether this method is the account default for online payments

bankingAccountIdstring | nullrequired

Associated banking account ID, if configured

dueDaysinteger | nullrequired

Number of days until payment is due (manual methods only)

connectionIdstring | nullrequired

Gateway connection identifier (online methods only)

cursorstring | nulloptional
has_morebooleanrequired

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
429Rate limit exceededapplication/json