1. Prepare your domains
All protected business requests go through the gateway.2. Get a JWT
If you integrate the Sign in with Mysoleas button, useauthorization_code with PKCE. If your backend acts on its own behalf, use client_credentials.
access_token. This token is the JWT you send to the gateway.
3. Call the gateway
Send the token inx-sp-auth-token.
4. Choose a service
List available services before you create a transaction. The servicecode becomes the provider value in payment payloads.
is_active: true and is_can_collect: true.
A service that can be used for a disbursement must have is_active: true and is_can_disburse: true.
5. Launch a collection
The standard flow uses three calls:intent, execute, then status.
In the request,
customer_wallet must not include the country calling code.transaction_reference. Use this value to execute and track the transaction.
6. Track the status
Poll the status until you get a final state.COMPLETED, SUCCESS, FAILED, CANCELLED, and REFUNDED.