• Dashboard
  • Dashboard
Expand All Collapse All
  • Welcome
  • Introduction
  • API Access Key and Authentication
  • Nairagram Response Codes
  • Test Data
    • Test Bank Account Numbers
    • Test Data for Mobile Wallet Transfer
  • Implementing Nairagram Services
    • Bank Account Transfer Services
      • Submitting a transfer via Nairagram Payout API
      • Submitting a transfer via dashboard
      • Cancel Pending Request
    • Mobile Wallet Transfer
      • Submit Mobile Wallet Transaction
    • Cash Pick-up
      • Submit Cash Pick Up Transaction
      • Get Cash Pick-up locations
    • Client Support
      • Get Wallet by Country
      • Bank List
      • Operator Wallet Code
      • Cash Pick-up Locations
      • Webhook/Call back
      • Get Beneficiary Name
      • Get Bank List
      • Get Security Questions
      • Get Currency Rate
      • Get Country List
      • Get Balance
      • Get Transaction Status
  • User Acceptance Complete Testing (UAT)

Get Transaction Status

105 views 0 Updated on February 9, 2022

Use the getTransactionStatus endpoint to get the status of the submitted transaction.

Please provide a call-back URL that can be used to notify you of any change in the transaction status timely.

For example, from complete to pending, from pending to complete, or from pending to canceled.

Syntax

POST https://nairagrambasket.com/api/getTransactionStatus

Response Codes

The following table lists the status codes that are returned in response to the getTransactionStatus request.

CodeStatus
200Completed
201Pending
The Pending status can show any of the following descriptions:
• Awaiting bank confirmation
• Company limit exceeded
• Wallet holding limit exceeded
• Wrong bank account/wallet
• Restricted/Dormant account: Account cannot receive payment
Note: For Company limit exceeded and Wallet holding limit exceeded in the description, please reach out to the business team or the finance team.
202Canceled
203Declined

Input Parameters

The following table lists the parameters that you need to provide in the getTransactionStatus request.

FieldValue FormatRequired/OptionalDescription
usernameyourmail@mail.comRequiredInput the valid email address that you submitted to your Partner Company.
passwordyourPasswordRequiredInput your secure password.
secretKeyyourSerectKeyRequiredInput the API key provided to you by your Partner Company.
transaction_pin123456789098—The transaction PIN would be returned from the submitTransaction or transaction_number request.

Sample Request

curl --location --request POST 'https://nairagrambasket.com/api/getTransactionStatus' \
--form 'username="yourmail@mail.com"' \
--form 'password="yourPassword"' \
--form 'secretKey="yourSerectKey"' \
--form 'transaction_pin="1234567890"'

Sample Response

{
  "Code": "200",
  "Message": "Success",
  "Content": {
    transaction_pin: NGN1234567890
    transaction_status: "Completed"
  }
}

OR

{
  "Code": "201",
  "Message": "Success"
  "Content": {
    transaction_pin: NGN1234567890
    transaction_status: "Pending"
    description:"Wrong bank account/wallet"
  }
}

Was this helpful?

Yes  No

Didn't find your answer? Contact Us

Previously
Get Balance
Up Next
User Acceptance Complete Testing (UAT)
Recent Topics
  • Get Currency Rate
  • Submit Cash Pick Up Transaction
  • Submit Mobile Wallet Transaction
  • Webhook/Call back
  • Submitting a transfer via Nairagram Payout API
Popular Topics
  • Submitting a transfer via dashboard
  • Welcome
  • Client Support
  • Get Security Questions
  • Get Wallet by Country
©2022 - Nairagram Ltd. All rights reserved.