Payments

Handles payment transactions, allowing creation, retrieval, updates, confirmation, and cancellation of payments.

Overview

The Payment endpoints manage all operations related to payments. This includes creating a new payment, retrieving payment details, confirming a payment, partially updating the payment, and canceling a payment. These operations ensure that users can complete transactions effectively, modify payments as needed, and handle payment cancellations.

Endpoints

Method
Endpoint
Description

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