Create lost transaction
This request will allow you to create transaction search requests in our system.
Either order_id
or custom_transaction_id
must be set.
Authorizations
Query parameters
project_idnumberRequiredExample:
Project ID in the A-Pay system
1234567
Body
filestring · binaryRequired
Supported file formats: jpg
, png
, heic
, jpeg
, pdf
.
order_idstring · min: 16 · max: 16OptionalExample:
Deposit ID in the A-Pay system
0123456789abcdef
Pattern: ^[0-9a-f]+$
custom_transaction_idstring · min: 1 · max: 200OptionalDefault:
Transaction ID in the client's system
null
Example: test_custom_id123
descriptionstring · min: 1 · max: 100000OptionalDefault:
Description of a lost transaction
null
Example: Some description of a lost transaction
Responses
200
Success
application/json
400
Bad request
application/json
401
Unauthorized
application/json
404
Not found
application/json
422
Unprocessable Entity
application/json
post
POST /Remotes/create-lost-transaction?project_id=1 HTTP/1.1
Host: <domain>
apikey: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 146
{
"file": "binary",
"order_id": "0123456789abcdef",
"custom_transaction_id": "test_custom_id123",
"description": "Some description of a lost transaction"
}
{
"success": true,
"status": "Pending",
"order_id": "0123456789abcdef",
"custom_transaction_id": "test_custom_id123",
"message": "Transaction successfully created"
}
⚠️ Error Handling Guide
The following section describes possible error responses for the POST /Remotes/create-lost-transaction
endpoint and how you can resolve them by yourself.
Last updated