We recommend that you always make a get transaction status call whenever a transaction is completed (or cancelled) before saving the transaction on your database. Monnify will also notify you via your webhook url of the status of any transaction.
Simulating Bank Transfers on the Sandbox
To simulate bank transfers on the Monnify Sandbox environment you can use our Banking App Web Simulator. Click here to view the banking app simulator
(M) indicates fields that are mandatory in the request body
The amount to be paid by the customer
The currency of the transaction being initialized. "NGN"
Merchant's Unique reference for every transaction. (The SDK already has a code snippet that generates this for you, but you can always replace it)
Full name of the customer
Email address of the customer
Phone number of the customer
Merchant's API Key (Can be found on the Monnify dashboard)
Merchant's contract code (Can be found on the Monnify dashboard)
Description for the transaction. Will be used as the account name for bank transfer payments
Should be set to true when using the sandbox and false when on production
Transaction Hash added to transaction response for security purposes. Click here for information on how to calculate the hash value
Status of the transaction ("PAID", "PENDING" or "FAILED")
Object containing specifications on how payments to this reserve account should be split.
The unique reference for the sub account that should receive the split.
Boolean to determine if the sub account should bear transaction fees or not
The percentage of the transaction fee to be borne by the sub account
The percentage of the amount paid to be split into the sub account.
An array containing payment methods which will be displayed to select from. It's defaulted to both account and card payment methods.