Transaction Status

Retrieving Transaction Status Information

GET /api/v4/paymentmethod/transaction/{id}

To check the status of a transaction, use the uniqueKey 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": 1299949,
    "username": "Name.McGlynn",
    "firstName": "Patience",
    "lastName": "Lebsack",
    "amount": 1000,
    "currency": "TRY",
    "reference": "cf718258-8bf5-4fb4-82a8-3b02d0304558",
    "paymentMethod": 2,
    "transactionType": "Deposit",
    "transactionStatus": "Pending",
    "timestamp": 1753696287935,
    "uniqueKey": "275724c8ff2a43709e8b6e24a4328a60",
    "message": null
}

Transaction Status

get

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
get
GET /api/v4/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",
  "timestamp": 1,
  "uniqueKey": "text",
  "message": "text"
}

Last updated