cURL
curl --request PUT \ --url https://api.bitgpt.xyz/invoices/{id} \ --header 'Content-Type: application/json' \ --data ' { "status": "COMPLETED", "currency": "<string>" } '
{ "data": { "id": "<string>", "message": "<string>" } }
Update invoice status or currency
Invoice ID
Request body for updating an invoice
New invoice status
COMPLETED
VOIDED
New currency
Invoice updated successfully
Show child attributes