Fast Checkout
POST
/api/merchant/fastCheckOutFast Checkout types ONCE_OFF_FIXED,OPEN_FIXED_AMOUNT,OPEN_DYNAMIC_AMOUNT
Request
Body Params multipart/form-data
id
string
required
Id of payment Link when updating
paymentLinkName
string
required
Name of Payment Link
Example:
{{name}}
paymentLinkDescription
string
required
Description of payments
Example:
{{Description}}
paymentLinkReference
string
required
Example:
{{Reference}}
paymentLinkAmount
string
required
Default Amount
Example:
{{Amount}}
paymentLinkType
string
required
ONCE_OFF_FIXED,OPEN_FIXED_AMOUNT,OPE
Example:
ONCE_OFF_FIXED
paymentLinkImageType
string
required
Image Attachment
Example:
NEW
paymentLinkProfileId
string
required
NEW/UPDATE/NONE
Example:
{{profileId}}
paymentLinkStartDate
string
required
Payment profile Id
Example:
{{startDate}}
paymentLinkEndDate
string
required
Start Date formart yyyy-MM-dd
Example:
{{endDate}}
paymentLinkCurrency
string
required
End Date formart yyyy-MM-dd
Example:
{{currency}}
paymentLinkCurrencyId
string
required
Example:
{{currencyId}}
paymentLinkOtherCurrencies
string
required
Example:
{{true or false}}
paymentLinkCustomerRedirectUrl
string
required
Example:
{{url}}
paymentCustomerFailRedirectUrl
string
required
Image Attachment
Example:
{{url}}
paymentLinkEmail
string
required
Example:
{{email}}
paymentLinkImage
file
required
Image Attachment
paymentPayerFullNames
string
required
Example:
{{Payer Names}}
paymentPayerEmailAddress
string
required
Example:
{{Payer Email Address}}
paymentPayerAddress
string
required
Example:
{{Payer Address }}
paymentPayerMobile
string
required
Example:
{{Payer Mobile}}
Request samples
Responses
Fast Checkout(200)
HTTP Code: 200
Content Type : Rawtext/plain
ExampleFast Checkout
{
"status": "Success",
"paymentLink": {
"paymentProfileName": "Church Offering",
"paymentProfileDescription": "Offering for every Sunday Service",
"paymentLinkReference": "Pay00001",
"paymentLinkUrl": "https://staging-payments.smatpay.africa/global?token=yr1d_ljcPzFpHV3eRRP57rbwvdj7mITG",
"paymentLinkAmount": 10,
"paymentLinkType": "ONCE_OFF_FIXED",
"paymentLinkToken": "yr1d_ljcPzFpHV3eRRP57rbwvdj7mITG",
"paymentLinkImageUrl": "https://smatpay.s3.af-south-1.amazonaws.com/20240805150004-VPN.png",
"paymentLinkStartDate": "2024-07-26T00:00:00.000+00:00",
"paymentLinkEndDate": "2024-07-26T00:00:00.000+00:00",
"paymentLinkIsActive": true,
"createdAt": "2024-08-05T15:00:05.045+00:00",
"id": 14
},
"message": "Payment link created successfully! Image URL: https://smatpay.s3.af-south-1.amazonaws.com/20240805150004-VPN.png"
}
Last modified: 6 days ago