novinzodevelopers
Your store's APIApps referenceReseller finance

Write Off Statement

POST/admin/statements/{statementId}/write-off

Credits what the statement still owes as a write-off and closes it, which lifts any purchase block it caused.

Path Parameters

statementId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

reason*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/admin/statements/string/write-off" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "id": "string",  "membershipId": "string",  "periodStart": "string",  "periodEnd": "string",  "amountDueMinor": 0,  "amountPaidMinor": 0,  "currency": "AED",  "dueAt": "string",  "status": "open",  "issuedAt": "string",  "writtenOffAt": "string"}