API Reference
This document describes the public and API-key authenticated endpoints of the AzothPay API
API Key Authentication. Example: "X-API-Key: {api_key}"
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Request model for depositing funds into the system
Ethereum address to deposit funds from
Amount to deposit
Whether to use Permit2 for token approval
Optional sponsor address that pays for gas fees
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Request model for making a payment transaction
Ethereum address of the sender
Ethereum address of the recipient
Amount to be transferred (in wei for ETH)
Optional sponsor address that pays for gas fees. Must be either the sender or receiver.
Successfully prepared payment transaction
Bad Request - Invalid parameters or addresses
Unauthorized - Invalid API key
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Request model for withdrawing funds from the system
Ethereum address to withdraw funds from
Amount to withdraw
Ethereum address to withdraw funds to
Optional sponsor address that pays for gas fees
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
API Key Authentication. Example: "X-API-Key: {api_key}"
Success
Bad Request
Unauthorized
Forbidden
Internal Server Error
Last updated