User Flow Guides

This guide shows the simple flow of how Sawfish’s APIs work together for payments.

First, the system makes sure you have a valid token (a short-lived key for security). If it expires, you either refresh or generate a new one. Once authorised, the GraphQL API takes over, you can either:

  • Check the payment gateway fees by filtering credit card details in the list of fees, then processing the payment.
  • Or get the payment gateway fees after users fill in their credit card details, then processing the payment.

Finally, Sawfish confirms the result by sending a webhook back to your system.