Monicredit Api
  • 😊Hello
  • How to use this documentation
  • Demo vs Live Environment
  • Authentication
    • Login
  • OnBoarding
    • OnBoard New Merchant
  • Collection
    • Getting Started
    • Accept Payment (Inline)
    • Accept Payment (Standard)
    • Verify Payment
    • Virtual Accounts
    • Revenue Head
    • Settlement Bank
  • Transactions
    • Get Transactions
    • Get Initiated Transaction Info
    • Verify Transaction
    • Verify Payment
    • Transaction Virtual Account
    • Settlement Transactions
    • Initiate Transaction
  • Commercial
    • Calculate Commercials
  • Settlement Bank
    • Create Settlement Bank
    • List Settlement Banks
    • Update Settlement Bank
  • Revenue Heads
    • Create Revenue Head
    • Update Revenue Head
    • List Revenue Heads
    • Get Single Revenue Head
    • Search Revenue Head
    • Delete Revenue Head
  • Reports
    • Settlement Bank Report
    • Revenue Head Report
    • Merchant Report
  • Settlement
    • Get Settlements
    • Get Single Settlement
  • Wallets
    • Create Wallet
    • Update Wallet
    • Get Wallet Transactions
    • Get Single Customer Wallet
    • Get Account Wallets
    • Get All Wallets
    • Create Virtual Account
  • Customer Wallet
    • Create Customer Wallet
    • Get Customer Wallets
    • Create Customer Virtual Account
    • Update Customer Wallet
  • Beneficiary
    • Add Beneficiary
    • Update Beneficiary
    • Search Beneficiary
  • Disbursement
    • Single Fund Transfer
    • Transaction Settlement
    • Bank List
    • Name Enquiry
Powered by GitBook
On this page
  1. Collection

Verify Payment

Monicredit's Verify Payment API is designed to allow you to verify payments before delivering value to customers. Once a payment is successful, retrieve the transaction ID from the payload and use it

Parameters:

Parameter
Required
Description

transaction_id

yes

The transaction ID is received by your customer when they initiate a payment.

private_key

yes

Your private key from Monicredit. Use test key for test mode and live key for live mode.

Endpoint: GET - {{baseUrl}}/payment/transactions/verify-transaction

Example Payload:

{
	"transaction_id": "ACX0000000000",
	"private_key": "PUB_00000000"
}

Success Response

{
    "status": true,
    "message": "Transaction Successfully",
    "orderid": "KJKGFKJGDKG",
    "data": {
        "amount": 200,
        "orderid": "KJKGFKJGDKG",
        "transid": "ACX0000000000",
        "date_paid": "2023-10-30 00:54:31",
        "status": "APPROVED",
        "channel": "TRANSFER",
        "balance": 0
    }
}

Failed Response

{
    "status": false,
    "message": "Transaction Not Successful",
    "orderid": "KNDFKJNDKBKJD",
    "data": {
        "amount": 200,
        "orderid": "KNDFKJNDKBKJD",
        "transid": "ACX000000000",
        "date_paid": "2023-10-30 00:54:31",
        "status": "PENDING",
        "channel": "TRANSFER"
    }
}

Invalid Response

{
    "status": false,
    "message": "Invalid Transaction"
}
PreviousAccept Payment (Standard)NextVirtual Accounts

Last updated 1 year ago