cURL
curl --request POST \ --url https://rest.staging.nickel.com/bill \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amountCents": 123, "dueDateEpochMillis": 123, "vendorId": "<string>", "reason": "<string>", "billNumber": "<string>", "s3Urls": [ "<string>" ] } '
{ "id": "<string>", "amountDueInCents": 123, "totalAmountInCents": 123, "vendorId": "<string>", "vendorName": "<string>", "dueDate": "<string>", "reference": "<string>", "status": "<string>", "documents": [ "<string>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Create a new bill
Due date as epoch milliseconds
Successful operation