Authorization
default Authorization<token>
Use a public key (pk./pk_test.) for payment initialization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.
In: header
Path Parameters
idstringrequired
Request Body
application/json
amountnumber | null
Must be at least 0.
transaction_idstring | null
Must not be greater than 255 characters.
payment_datestring | null
Must be a valid date.
payment_methodstring | null
Must not be greater than 255 characters.
notesstring | null
Must not be greater than 1000 characters.
Response Body
application/json
curl -X POST "https://api.wajub.com/invoices/architecto/mark-paid" \ -H "Content-Type: application/json" \ -d '{}'{ "code": 500, "status": "Internal Server Error", "message": "An unexpected error occurred"}Internal Server Error