List available payment methods
curl --request GET \
--url https://my.server.express/api/v1/public/payment-methodsconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/public/payment-methods', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/public/payment-methods"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"cards": true,
"crypto": true,
"bankTransfer": [
"GBP"
]
}
}{
"success": false,
"error": "<string>"
}Public Invoices
List available payment methods
Which ways of paying are open right now, so a payment page can hide the card button before anyone clicks it. Sent with Cache-Control: no-store — staff switch cards off expecting it to bite immediately.
GET
/
v1
/
public
/
payment-methods
List available payment methods
curl --request GET \
--url https://my.server.express/api/v1/public/payment-methodsconst options = {method: 'GET'};
fetch('https://my.server.express/api/v1/public/payment-methods', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/public/payment-methods"
response = requests.get(url)
print(response.text){
"success": true,
"data": {
"cards": true,
"crypto": true,
"bankTransfer": [
"GBP"
]
}
}{
"success": false,
"error": "<string>"
}