Skip to main content
POST
/
v1
/
payments
Process a payment
curl --request POST \
  --url https://revstack.dev/v1/payments \
  --header 'Content-Type: application/json' \
  --data '
{
  "invoiceId": "<string>",
  "amount": 1,
  "method": "<string>",
  "idempotencyKey": "<string>"
}
'
null

Body

application/json
invoiceId
string
required
Minimum string length: 1
amount
number
required
Required range: x > 0
method
string
required
Minimum string length: 1
idempotencyKey
string

Response

Payment processed

The response is of type unknown.