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.
Example
HTML form
Return
The customer is redirected tosuccessUrl or failureUrl with soleaspay_data in the query string.
soleaspay_data, store the transaction reference, then confirm the status before delivering a sensitive service.