Skip to main content
One-off payments are the simplest type. They are often referred to as guest payments. You only need a customer ready to interact, an amount, and a currency.

Request

Find the API documentation for the request here.
The payload for the request is very straightforward and in the simplest case looks like this:

Remarks

  • Commerce encodes amounts in minor units of the respective currency. The example above would be 10.00 EUR.
  • The source.type denotes that the payment will be initiated fully on the front-end, and the card details need to be entered there.

Response

Commerce responds with a HTTP 200 OK and a JSON payload. The payload contains the session ID to handle the action requirement: