Skip to main content
Checkout v4 uses a merchant API key. No OAuth token is required. Your application submits the payment to the SoleasPay hosted page. The customer completes the payment on SoleasPay, then is redirected to your application with the result.

Use cases

Use Checkout v4 if you want to:
  • redirect the customer to a full payment page;
  • avoid building a payment-method collection interface;
  • quickly offer the active services on your merchant account;
  • integrate SoleasPay with a simple HTML form.

Payload

Amounts and amount_unit

Submit amount in major units: 4.01 for 4.01 USD or EUR. Hosted checkout does not support the API amount_unit: "MINOR" option. Convert stored cents before submitting the form. Checkout preserves cents in fee quotes and payment requests, displays USD/EUR with two decimals, and accepts cents for free-amount payment links. See amounts and currencies.
Add the other required checkout fields to this example.

Example

HTML form

Return

The customer is redirected to successUrl or failureUrl with soleaspay_data in the query string.
Decode soleaspay_data, store the transaction reference, then confirm the status before delivering a sensitive service.