In some circumstances, it may be necessary to resend a previously generated invoice through the N-Genius Online APIs. This action may be necessary if the invoice recipient has either not received the invoice, or is - for any other reason - unable to access the original invoice email.
HTTP Request Method: PUT
Resource URI: https://api-gateway.sandbox.ngenius-payments.com/invoices/outlets/[your-outlet-reference]/invoice/[your-invoice-reference]/resend
Headers
Key | Value |
---|---|
Authorization | Bearer access_token |
Content-Type | application/vnd.ni-invoice.v1+json |
Body (JSON) Example:
{
"email": "[email protected]",
"invoiceExpiryDate": "2023-01-22"
}
Attributes:
Attribute | Description |
---|---|
The email address of the recipient | |
invoiceExpiryDate | An updated (if necessary) expiry date for the invoice, in YYYY-MM-DD format. |