Skip to main content

Retrieve Paylink Transaction Status

GET /payments/paylink/status-query/{referenceId}

Description

Retrieve the status of a Paylink transaction based on a unique reference ID. This endpoint enables users to query and obtain the current status of a Paylink transaction using the provided reference ID.

Required Headers

TypeDescription
apiKeystring(Required). Wallet API key for authentication. Include in the request header.
Authorizationstring(Required). Authentication token. Include in the request header using the "Bearer" scheme. Example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NGQ2Nm...

Path Parameter

NameTypeDescription
referenceId*string(Required) Unique reference ID of the transaction for which the status is queried.

HTTP Status Code: 200 OK

Successful response with a JSON structure providing status information and optional data or error details.

Response Fields

FieldTypeDescription
statusbooleanOverall success or failure indicator (true for success, false for failure).
statusCodeintegerNumeric code representing the status of the response (0 for success).
messagestringBrief message providing additional context about the response.
dataobjectEmpty or contains relevant data depending on the operation.
errorsarrayArray of error objects, each with a short and descriptive message.

Example

<ApiResponse>
<status>true</status>
<statusCode>0</statusCode>
<message>string</message>
<data/>
<errors>
<error>
<message>string</message>
<descriptiveMessage>string</descriptiveMessage>
</error>
</errors>
</ApiResponse>

Method: GET

>http://20.87.230.105/platform/wallets/payments/ussd/status-query/transaction_123

Headers

Content-TypeValue
apiKey{{apiKey}}

🔑 Authentication bearer

ParamvalueType
token{{accessCode}}string

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /payments/paylink/status-query/{referenceId} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!