POST
/
payment-link
Create Payment Link
curl --request POST \
  --url https://nini.monieswitch.com/payment-link \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amountType": "FIXED",
  "amount": 300,
  "name": "XIAOMI REDMI DONATION",
  "description": "XIAOMI REDMI A5 - 6.88 3GB RAM/64GB ROM -- Ocean Blue↵↵Processor : UNI",
  "email": "[email protected]",
  "supportCard": true,
  "supportBankTransfer": true,
  "webhookURL": "https://webhook.site/90c92062-f0a8-4deb-a36e-da774a702f1c",
  "callbackURL": "https://webhook.site/90c92062-f0a8-4deb-a36e-da774a702f1c",
  "bearer": "account",
  "subaccountId": "bb4ef1f3-68a8-4856-9e02-c27bf1b847e3"
}'
{
  "status": true,
  "message": "Payment link created successfully",
  "data": {
    "id": "14340e69-d632-46c0-abb0-afc7d486f24e",
    "link": "http://localhost:3001/65j83QBEcCVGFlVQxIOLvlxhwn2rsn",
    "name": "XIAOMI REDMI DONATION",
    "logo": "https://d1hhqx6q67lhms.cloudfront.net/Ck2jHba7OzcBAbvsbt9Dxj2iF_Background-Image-2x.jpg",
    "email": "[email protected]",
    "amount": 3700,
    "bearer": "account",
    "reference": "GZhxwXkeCYmSGno4Rdy6fn1ixgEhIa",
    "amountType": "FIXED",
    "webhookURL": null,
    "description": "XIAOMI REDMI A5 - 6.88 3GB RAM/64GB ROM -- Ocean Blue\n\nProcessor : UNI",
    "createdAt": "2025-08-05T20:21:14.826Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amountType
string
amount
integer
name
string
description
string
email
string<email>
supportCard
boolean
supportBankTransfer
boolean
webhookURL
string<uri>
callbackURL
string<uri>
bearer
string
subaccountId
string
extraFields
object[]
isOneTimeUse
boolean

Response

Create Payment Link - Successful

status
boolean
message
string
data
object