Transactions

Manages transactions through various operations, including simulating transactions, handling payment attempts, and processing payments.

Overview

The Transaction page covers all the key operations related to transactions. It includes simulating transactions, managing payment attempts (creating, retrieving, updating, and deleting), and handling payments (creating, confirming, canceling). It also supports adding and removing payment methods for payment attempts, ensuring a smooth transaction flow from initiation to completion.

Endpoints

Method
Endpoint
Description

POST

Simulates a transaction for testing purposes.

POST

Creates a new payment attempt for a transaction.

GET

Retrieves details of a specific payment attempt.

PATCH

Partially updates a payment attempt.

PUT

Fully replaces an existing payment attempt.

DELETE

Deletes a payment attempt.

POST

Adds payment methods (origins) to a payment attempt.

POST

Adds payment methods (destinations) to a payment attempt.

DELETE

Removes a payment origin from a payment attempt.

DELETE

Removes a payment destination from a payment attempt.

POST

Creates a new payment.

GET

Retrieves details of a payment.

PATCH

Partially updates a payment.

POST

Confirms a payment and completes the transaction.

DELETE

Cancels a payment before it is confirmed.

Security

This API is secured using API key and Bearer token authentication.

  • API Key: Include the x-api-key in the header.

  • Bearer Token: Authenticate with a JWT bearer token.

Models

For more detailed information about the models and related fields, please refer to the model page

Model
Description

Represents the details of the transaction, including amounts, type, and status.

Represents the methods (origins/destinations) added to the payment attempt.

Represents a currency exchange quote, including details like exchange rate, provider, and fees related to the exchange.

Last updated