Get Transaction Status - LRS

This API enables the platform to fetch the status of a LRS payment.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

This API is currently in internal beta and subject to change. The request and response payloads, API endpoint, and validation logic may be updated.


🙌

Important Note

Please use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.

Overview

  1. This API can be used to fetch the latest status of a LRS transaction, initiated using the Generate LRS Payment Link API, via the reference_id or the decentro_txn_id .
  2. This API is an alternative to the Transaction Status Callback/Webhook.
  3. The platform should use this only if a callback hasn't been acknowledged or transaction confirmation hasn't been received.
  4. The possible status values are:
    1. PENDING (default)
    2. SUCCESS
      1. Signifies that the payer has completed the payment.
    3. FAILED
    4. CANCELLED
    5. EXPIRED
    6. REJECTED
      1. Signifies that the payment has been rejected by the payer's bank based on their internal checks.
    7. COMPLETED
      1. Signifies that the payment has been released/settled by the payer's bank.
Query Params
string

The unique ID assigned by Decentro when generating the payment link. Conditional Mandatory.

string

The unique ID assigned by the platform when generating the payment link. Conditional Mandatory.

Headers
string
required

Decentro assigned client_id during onboarding.

string
required

Decentro assigned client_secret during onboarding.

string

Optional header that allows parent merchant to consume the API on behalf of sub-merchant.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json