Payment Links
Create a payment link
Creates a payment link and returns its full record, including payPageUrl — the shareable URL you send to the customer. Omit amount to create an open-amount link where the customer enters the amount at checkout.
post/payment-links
Request
- Base URL: https://api.swiftpayiq.com/api/v1
- URL: https://api.swiftpayiq.com/api/v1/payment-links
- Auth: HTTP bearer
Request body
Example request
{
"amount": "50000",
"customerPhone": "+9647801234567"
}Response
Payment link created
Example response
{
"payPageUrl": "https://swiftpayiq.com/pay?slug=xa7fi5brv1",
"amount": "50000",
"feeRate": "0.60325",
"feeAmount": "50000",
"customerFeeShare": "0.5000",
"netAmount": "50000",
"createdByType": "API_KEY",
"payments": [
{
"provider": "ALQASEH",
"amount": "50000",
"feeAmount": "50000",
"netAmount": "50000"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.