CALLBACKS Endpoints
Authorizations
Responses
200
Success
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
504
Gateway timeout
application/json
get
GET /callbacks HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"createAt": "2020-11-26 11:39:17.852765 +03:00",
"url": "https:/example.com/123?q=1&p=2",
"events": [
"incoming",
"outgoing",
"withdrawal",
"fiat_manual_withdrawal",
"deposit"
]
}
]
Authorizations
Body
urlstringRequiredExample:
https://example.com/123?q=1&p=2
Responses
200
Success
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
504
Gateway timeout
application/json
post
POST /callbacks HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 59
"url='https://example.com/123?q=1&p=2'&transactions=[]"
{
"id": 1
}
Authorizations
Path parameters
idnumberRequired
Responses
204
Success
application/json
401
Unauthorized
application/json
404
Not found
application/json
500
Internal server error
application/json
504
Gateway timeout
application/json
delete
DELETE /callbacks/{id} HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"status": true
}
Last updated