Accepted Currencies
The endpoint retrieves the list of cryptocurrencies available for payment processing through OxaPay. These currencies are configured by you on the "Merchant Service" page of your account, specifying the cryptocurrencies your business accepts for payments.
get
Header parameters
merchant_api_keystringRequired
Your Merchant API Key for authentication and authorization.
Content-TypestringRequiredDefault:
application/jsonResponses
200
Successful operation
application/json
messagestringOptional
A message containing additional information about the result of the request.
statusintegerOptional
The status of the request response. Typically provided as a numeric code (e.g., 200 for success or other codes for errors).
versionstringOptional
The version of the API being used.
400
Bad request
application/json
get/payment/accepted-currencies
import requests
import json
url = 'https://api.oxapay.com/v1/payment/accepted-currencies'
headers = {
'merchant_api_key': 'YOUR_MERCHANT_API_KEY',
'Content-Type': 'application/json'
}
response = requests.get(url, headers=headers)
result = response.json()
print(result){
"data": {
"list": [
"BTC",
"ETH",
"USDT",
"USDC",
"BNB",
"DOGE"
]
},
"message": "Operation completed successfully!",
"error": {},
"status": 200,
"version": "1.0.0"
}Last updated