Payment Gateway Documents
  • 30 Aug 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Payment Gateway Documents

  • Dark
    Light

Article summary

The Payment Gateway allows Bento Box to interface with a number of different payment providers via a single clean API. The gateway handles all communication with the payment provider so that switching provider is a simple as selecting a new provider and configuring their API credentials.

Key Concepts

This section outlines the key concepts and use cases in the Payment Gateway, more details can be found in the Payment APIs section and in Use Cases.

Payment Methods

A Payment Method represents an individual's card or PayPal account, once registered in the service they can be used to take payment.

Transactions

A Transaction represents a payment, it has details on its current state and contains all history associated with that payment e.g. pre-authorisation attempts, capturing status, and refunds. More details can be found in Transaction History.

Authentication

The Payment Gateway uses JWT tokens for authentication, which can be retrieved from the Authentication Gateway, see Retrieving a JWT Token for more details.

Error Handling

Details on how the Bento Payment Gateway reports errors is outlined in Error Handling and Payment Gateway Codes.


Was this article helpful?