curl --request POST \
--url https://revstack.dev/v1/payments \
--header 'Content-Type: application/json' \
--data '
{
"invoiceId": "<string>",
"amount": 1,
"method": "<string>",
"idempotencyKey": "<string>"
}
'nullProcesses a payment against an invoice. Supports idempotency keys to prevent duplicate charges.
curl --request POST \
--url https://revstack.dev/v1/payments \
--header 'Content-Type: application/json' \
--data '
{
"invoiceId": "<string>",
"amount": 1,
"method": "<string>",
"idempotencyKey": "<string>"
}
'null