Welcome to the generated API reference. Get Postman Collection
Депозиты по мерчанту
Показать вывод
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/deposits/show/1" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"api_key":"facere","sign":"velit"}'
Example response (200):
{
"status": "success",
"data": []
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
POST api/merchant/deposits/show/{deposit}
Parameter | Status | Description |
---|---|---|
deposit_id | optional | Ид вывода |
Parameter | Type | Status | Description |
---|---|---|---|
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Возвращает список всех депозитов с выбором по валюты и адресу кошелька
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/deposits/list" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"currency":"laborum","wallet":"accusamus","api_key":"voluptas","sign":"fugiat"}'
Example response (200):
{
"status": "success",
"data": ""
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/deposits/list
Parameter | Type | Status | Description |
---|---|---|---|
currency | string | optional | Валюта из списка BTC,ETH,LTC,USDT |
wallet | string | optional | Адрес кошелька |
api_key | string | required | Ключ мерчанта Example: |
sign | string | required | Подпись запроса |
Возвращает сумму пополнений по мерчанту
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/deposits/total" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"wallet":"vel","api_key":"alias","sign":"quo"}'
Example response (200):
{
"status": "success",
"data": ""
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (404):
{
"status": "error",
"message": "Wallet: Not found"
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/deposits/total
Parameter | Type | Status | Description |
---|---|---|---|
wallet | string | optional | Адрес кошелька |
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Инвойсы по мерчанту
Получить инвойс по ИД
Requires authentication
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/invoices/show/atque" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"api_key":"iste","sign":"repellendus"}'
Example response (200):
{
"status": "success",
"data": ""
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/invoices/show/{invoice}
Parameter | Status | Description |
---|---|---|
invoice | optional | ид инвойса |
Parameter | Type | Status | Description |
---|---|---|---|
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Список инвойсов по мерчанту
Requires authentication
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/invoices/list" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"api_key":"ipsum","sign":"inventore"}'
Example response (200):
{
"status": "success",
"data": ""
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/invoices/list
Parameter | Type | Status | Description |
---|---|---|---|
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Создать инвойс
Requires authentication
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/invoices/create" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"currency":"eveniet","amount":"minima","desc":"minus","redirect_to":"quo","api_key":"est","sign":"fuga"}'
Example response (200):
{
"status": "success",
"data": ""
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/invoices/create
Parameter | Type | Status | Description |
---|---|---|---|
currency | string | required | Валюта Инвойса 'BTC','LTC','USDT','ETH','ALL' |
amount | numeric | required | Сумма в валюте 'BTC','LTC','USDT','ETH' или сума в USD для 'ALL' |
desc | string | optional | Описание |
redirect_to | url | optional | Ссылка для возврата на сайт мерчанта |
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Данные мерчанта
Requires authentication
Example request:
curl -X GET \
-G "https://api.aenpay.com/api/merchant/get" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"api_key":"quia","sign":"sed"}'
Example response (200):
{
"status": "success",
"data": ""
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/get
Parameter | Type | Status | Description |
---|---|---|---|
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Обновление мерчанта
Requires authentication
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/update" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"name":"officia","site_url":"magnam","callback_type":"quidem","callback_url":"perspiciatis","btc_resend_to":"ut","ltc_resend_to":"perferendis","eth_resend_to":"aut","usdt_resend_to":"est","api_key":"quo","sign":"nobis"}'
Example response (200):
{
"status": "success",
"data": ""
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/update
Parameter | Type | Status | Description |
---|---|---|---|
name | string | optional | Название мерчанта, |
site_url | string | optional | Ссылка на сайт, null для удаления |
callback_type | string | optional | Метод колбека GET,POST |
callback_url | string | optional | Урл по которому нужно делать калбек, null для отключения |
btc_resend_to | string | optional | Адрес для автопересылки BTC, null для отключения |
ltc_resend_to | string | optional | Адрес для автопересылки LTC, null для отключения |
eth_resend_to | string | optional | Адрес для автопересылки ETH, null для отключения |
usdt_resend_to | string | optional | Адрес для автопересылки USDT, null для отключения |
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Кошельки мерчанта
Возвращает список адресов мерчанта
Requires authentication
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/wallets/list" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"currency":"veritatis","api_key":"voluptates","sign":"ex"}'
Example response (200):
{
"status": "success",
"data": ""
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (404):
{
"status": "error",
"message": "Wallet: Not found"
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/wallets/list
Parameter | Type | Status | Description |
---|---|---|---|
currency | string | optional | Валюта BTC,ETH,LTC,USDT |
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Генерирует новый постоянный адрес для депозитов, колбеки идут на основной url если указан
Requires authentication
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/wallets/create" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"currency":"rem","api_key":"libero","sign":"ut"}'
Example response (200):
{
"status": "success",
"data": "address"
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (404):
{
"status": "error",
"message": "Wallet: Not found"
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/wallets/create
Parameter | Type | Status | Description |
---|---|---|---|
currency | string | required | Валюта из списка BTC,ETH,LTC,USDT |
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Выводы по мерчанту
Показать вывод
Requires authentication
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/withdraws/show/1" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"api_key":"quos","sign":"qui"}'
Example response (200):
{
"status": "success",
"data": null
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/withdraws/show/{withdraw}
Parameter | Status | Description |
---|---|---|
withdraw_id | optional | Ид вывода |
Parameter | Type | Status | Description |
---|---|---|---|
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Список выводов
Requires authentication
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/withdraws/list" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"currency":"blanditiis","wallet":"harum","api_key":"omnis","sign":"quia"}'
Example response (200):
{
"status": "success",
"data": []
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
Example response (422):
{
"message": "The given data was invalid.",
"errors": {
"field name": [
"Error description"
]
}
}
POST api/merchant/withdraws/list
Parameter | Type | Status | Description |
---|---|---|---|
currency | string | optional | Валюта из списка BTC,ETH,LTC,USDT |
wallet | string | optional | Адрес кошелька |
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |
Возвращает сумму выводов по мерчанту
Requires authentication
Example request:
curl -X POST \
"https://api.aenpay.com/api/merchant/withdraws/total" \
-H "content-api-Type: application/json" \
-H "Accept: application/json" \
-d '{"api_key":"et","sign":"ipsa"}'
Example response (200):
{
"status": "success",
"data": []
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad api_key"
}
}
Example response (400):
{
"message": "Bad Request",
"errors": {
"sign": "Bad sign"
}
}
POST api/merchant/withdraws/total
Parameter | Type | Status | Description |
---|---|---|---|
api_key | string | required | Ключ мерчанта |
sign | string | required | Подпись запроса |