List payment methods
sales:invoicing-settings.readhttps://api.holded.com/api/v2/payment-methodsReturns 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
stringoptionalOpaque cursor for pagination. Pass the value returned in the previous response to fetch the next page.
integeroptional= 50Maximum number of payment methods to return per page. Defaults to 50, maximum 200.
Request
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
{
"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/jsonUnique identifier of the payment method
Display name of the payment method
Discriminator for the payment method kind: 'manual' for manually created methods, or the provider slug for connected gateways (stripe, paypal, gocardless, square, monei, wallet)
manualstripepaypalgocardlesssquaremoneiwalletCurrent status of the payment method: 'connected' means active and usable. Online gateways may also have disconnected, access_denied, verification_required, or verification_in_review.
connecteddisconnectedaccess_deniedverification_requiredverification_in_reviewWhether this method is the account default for online payments
Associated banking account ID, if configured
Number of days until payment is due (manual methods only)
Gateway connection identifier (online methods only)
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json429Rate limit exceededapplication/json