Tell staff a bank transfer is on its way
curl --request POST \
--url https://my.server.express/api/v1/client/invoices/{id}/bank-transfer \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/invoices/{id}/bank-transfer', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/invoices/{id}/bank-transfer"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"data": {
"noted": true
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>",
"data": {
"payInsteadInvoiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payInsteadInvoiceNumber": "<string>"
}
}{
"success": false,
"error": "<string>",
"data": {
"billingDetailsRequired": true,
"missing": [
"addressLine1"
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Invoices
Tell staff a bank transfer is on its way
A heads-up, not a payment: nothing is marked paid. Writes a BANK_TRANSFER_SENT audit log entry and pings staff on Telegram
and Discord — at most once per invoice per 24 hours; repeat calls still return noted: true. Same payability checks as
GET. Rate limited to 6 requests per minute per IP. Requires a complete billing address (428).
POST
/
v1
/
client
/
invoices
/
{id}
/
bank-transfer
Tell staff a bank transfer is on its way
curl --request POST \
--url https://my.server.express/api/v1/client/invoices/{id}/bank-transfer \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/invoices/{id}/bank-transfer', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/invoices/{id}/bank-transfer"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"data": {
"noted": true
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>",
"data": {
"payInsteadInvoiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payInsteadInvoiceNumber": "<string>"
}
}{
"success": false,
"error": "<string>",
"data": {
"billingDetailsRequired": true,
"missing": [
"addressLine1"
]
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}