POST
/
payment-link
curl --request POST \
  --url https://nini.monieswitch.com/payment-link \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 2500,
  "name": "Tester one",
  "channel": "API",
  "description": "Payment for goods",
  "email": " [email protected]",
  "supportCard": false,
  "requiresName": false,
  "requiresPhone": false,
  "supportBankTransfer": false,
  "webhookURL": "",
  "callbackURL": ""
}'
{
  "data": {
    "data": {
      "amount": 200,
      "id": "226ad356-d898-4ff0-be1c-8a341a1eaa3d",
      "link": "https://checkout.nini.monieswitch.com/2c9bmvBdxGbkBjhIwOcZCmumZNWeBcBXvvhM",
      "name": "Tester two",
      "reference": "t8DlKVbHMqkvIVtiOhG089oyJMlXXoGzx5AO",
      "status": "ACTIVE"
    }
  },
  "status": true
}

Headers

Authorization
string
required

Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'

Body

application/json
amount
number
name
string
channel
string
description
string
email
string
supportCard
boolean
requiresName
boolean
requiresPhone
boolean
supportBankTransfer
boolean
webhookURL
string
callbackURL
string

Response

200 - application/json
data
object
status
boolean