Skip to main content

Update Invoice (Optional)

base_url: https://firseinvoice.etranzactng.com/

Description: This endpoint updates an invoice using the invoice reference number as the unique identifier.

NB: It is only called when an invoice status changes.

Request Parameters

ParameterTypeDescriptionRequired?
payment_statusstringInvoice payment status. Where: 0 = REJECTED 1 = PENDING 2=PAIDYes
referencestringPayment reference or noteNo

Request Parameters

POST {base_url}/api/v1/app/invoice/update/{irn}
curl -X PATCH
-H "X-API-Key: {{CLIENT_API_KEY}}"
-H "X-API-Signature: {{HMAC_SHA256_SIGNATURE}}"
-H "X-API-Timestamp: {{ISO_20022_TIMESTAMP}}"
-H "Content-Type: application/json"
-d '{
"payment_status": "PAID",
"reference": "Paid in full after 3 days of issue"
}
'