Reject payment proof
POST
apiKeyheader
AuthorizationBearer <token>An API key (blk_…) from Settings → API keys.
id*stringapplication/json- body
reason*stringLength
3 <= length <= 500application/json- response
id*stringinvoiceId*stringinvoiceNumber*string|nullclientId*stringclientName*stringamount*integerRange
-9007199254740991 <= value <= 9007199254740991currency*stringpaidOn*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Format
datepaymentAccountId*string|nullpaymentAccountLabel*string|nullpaymentAccountKind*|Value in
"bank""mobile_wallet""other"nullreference*string|nullnote*string|nullhasFile*booleanfileUrl*string|nullstatus*stringValue in
"pending""confirmed""rejected"rejectionReason*string|nullpaymentId*string|nullreviewedAt*|Match
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Format
date-timesubmittedEmail*stringcreatedAt*stringMatch
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Format
date-timecurl -X POST 'https://your-billleaf-api/v1/payment-proofs/string/reject' \ -H 'Content-Type: application/json' \ -d '{ "reason": "string"}'Example Response200
{ "id": "string", "invoiceId": "string", "invoiceNumber": "string", "clientId": "string", "clientName": "string", "amount": -9007199254740991, "currency": "string", "paidOn": "2019-08-24", "paymentAccountId": "string", "paymentAccountLabel": "string", "paymentAccountKind": "bank", "reference": "string", "note": "string", "hasFile": true, "fileUrl": "string", "status": "pending", "rejectionReason": "string", "paymentId": "string", "reviewedAt": "2019-08-24T14:15:22Z", "submittedEmail": "string", "createdAt": "2019-08-24T14:15:22Z"}