Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
curl --location --request POST 'https://sandbox.monnify.com/api/v1/merchant/transactions/init-transaction' \
--data-raw '{
  "amount": 100.00,
  "customerName": "Stephen Ikhane",
  "customerEmail": "stephen@ikhane.com",
  "paymentReference": "123031klsadkad",
  "paymentDescription": "Trial transaction",
  "currencyCode": "NGN",
  "contractCode":"32904822812",
  "redirectUrl": "https://my-merchants-page.com/transaction/confirm",
  "paymentMethods":["CARD","ACCOUNT_TRANSFER"],
  "incomeSplitConfig": [
    	{
    		"subAccountCode": "MFY_SUB_319452883228",
    		"feePercentage": 10.5,
    		"splitAmount": 20,
    		"feeBearer": true
    	}
    ],
   "metadatametaData": {
                    "name": "John Doe",
                    "age": 45
                    }
}

...