Information about deposits
Request
GET
https://repay.cx/api/v1/external/deals/{deal.id}
Headers
api-key
string
API key for requests authentication
Parameters
deal_id
string
Unique transaction identifier
cURL Example
curl -X GET "https://repay.cx/api/v1/external/deals/{your_deal_id_here}" \
-H "api-key: your_api_key_here"
Change:
your_api_key_here
to your actual API key,your_deal_id_here
to your transaction ID that we gave you when creating the deal.
Response
This request will perform a GET request and return a JSON response if the request is successful.
Example of a successful response
{
"status_code": 200,
"error": {},
"payload": {
"id": "7f144eb9-36a8-420a-97d2-27770667c1bd",
"amount_usdt": 10.6495,
"amount": 1100.0,
"currency": "RUB",
"state": "proceedings",
"receiver_info": "card***752"
}
}
payload
object
Information about transaction
payload.id
string
Unique transaction identification number
payload.amount_usdt
string (number)
Amount of transaction in USDT
payload.amount
string (number)
Amount of transaction in fiat currency
payload.currency
string
Fiat currency of transaction
payload.state
string
Status of transaction
payload.recevier_info
string
Information about recipient's requisite
Deals status
created
New transaction (deal)
choosing_amount
We offer the user alternative payment amounts (4 to choose from) if we couldn't find the requisite for amount that was required
card_search
Looking for a payment requisite
waiting_payment
Waiting for payment
rejected_timeout
Cancelled due to timeout (user did not pay for the allocated time)
reject_by_office
Cancelled in dispute
reject_manual_by_client
Cancelled by user
proceedings
Dispute has been opened
proceedingsN
Repeated dispute has been opened
completed
Transaction has been confirmed, and the funds have been credited
rejected_by_system
Transaction has been canceled by the anti-fraud system
rejected_by_new_deal
User created a new transaction, and the previous active one has been canceled
Last updated