Skip to main content

Card payment flow

Card payment flow sequence diagram

The card payment flow is described below. The steps outlined are as follows:

  • 1. Create a quote (card payments must be configured on your system), the payment option id must be retrieved from this response.

  • 2. Initialise the card payment using the card payment API endpoint.

This will return a redirect authorization href which is the URL of the webpage your customer must access and enter their card details into.

When you initialise the payment, you will also provide cancel and complete URLs. These URLs are the destinations the customer is redirected to after they have completed or canceled the transaction on the card provider's website.

Card payment flow sequence diagram

sequenceDiagram participant Your Customer participant Your System participant Plusius API participant Card Provider participant Receiver Account Note over Your System,Plusius API: The header must contain api-key: YOUR_API_KEY Your System->>Plusius API: Create quote Plusius API-->>Your System: Payment options Your System->> Plusius API: Quote Id and chosen payment option Id Plusius API->> Your System: Notification "Created" via web hook Plusius API-->> Your System: URL for customer to complete payment Your System ->> Your Customer: URL for payment initialization Your Customer ->> Card Provider: Redirect to card provider to complete payment Card Provider ->>Plusius API: Card payment captured Plusius API ->> Your System: Notification "Completed" via web hook Your System ->> Plusius API: Create payout request Plusius API ->> Receiver Account: Settlement amount Plusius API ->> Your System: Notification "Payout Completed" via Webhook

To understand better card payments flow and API, please visit the API Reference page - Card Payment API.

Contact us

For more information, feel free to contact our Support Team.

Read more