Send an invoice.
POST
/v1/invoices/{id}/send
const url = 'https://api.ridleypay.com/v1/invoices/architecto/send';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.ridleypay.com/v1/invoices/architecto/send \ --header 'Authorization: Bearer <token>'Sends the invoice to the customer via email and updates the status to “sent”.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
The ID of the invoice.
Example
architecto