Transaction Status
Retrieving Transaction Status Information
GET
/api/v3/paymentmethod/transaction/{id}
To check the status of a transaction, use the id
value from the response of the specific transaction—whether it’s a deposit or withdrawal. This id
is used as a path variable..
Transaction Type: Deposit or Withdrawal
Transaction Status
New : The transaction has been successfully created.
Pending : The transaction is currently being processed.
Confirm : The transaction has been confirmed.
Reject : The transaction has been rejected.
Headers
Name
Value
Content-Type
application/json
x-api-key
<x-api-key>
Response
{
"id": 91,
"username": "Bennett84",
"firstName": "Florencio",
"lastName": "Thompson",
"amount": 1001,
"currency": "TRY",
"reference": "9e9d387d-908a-4666-b119-a3743280d9f4",
"paymentMethod": 1,
"transactionType": "Deposit",
"transactionStatus": "Confirm"
}
Retrieve the status of a transaction request.
Path parameters
idstringRequired
Header parameters
x-api-keystringRequired
The API key for authentication.
Responses
200
Transaction status retrieved successfully.
application/json
401
API key is missing or invalid.
application/json
404
The specified transaction was not found.
application/json
get
GET /api/v3/paymentmethod/transaction/{id} HTTP/1.1
Host: testlink.paylayercore.com
x-api-key: text
Accept: */*
{
"id": 1,
"username": "text",
"firstName": "text",
"lastName": "text",
"amount": 1,
"currency": "text",
"reference": "text",
"paymentMethod": 1,
"transactionType": "text",
"transactionStatus": "text"
}
Last updated