curl --request POST \
--url https://revstack.dev/v1/invoices \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "<string>",
"currency": "USD",
"dueDate": "2023-11-07T05:31:56Z",
"idempotencyKey": "<string>"
}
'{
"id": "<string>",
"success": true
}Creates a new invoice in draft status for a customer.
curl --request POST \
--url https://revstack.dev/v1/invoices \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "<string>",
"currency": "USD",
"dueDate": "2023-11-07T05:31:56Z",
"idempotencyKey": "<string>"
}
'{
"id": "<string>",
"success": true
}