Authorization: Bearer ********************
curl --location --request POST 'https://live.smatpay.africa/api/merchant/sandbox/fastCheckOut' \ --form 'id=""' \ --form 'paymentLinkName="Udean Mbano"' \ --form 'paymentLinkDescription="Test Description"' \ --form 'paymentLinkReference="FastCheckout0002"' \ --form 'paymentLinkAmount="5.00"' \ --form 'paymentLinkType="ONCE_OFF_FIXED"' \ --form 'paymentLinkImageType="NEW"' \ --form 'paymentLinkProfileId="4271941"' \ --form 'paymentLinkStartDate="2025-02-26"' \ --form 'paymentLinkEndDate="2025-02-26"' \ --form 'paymentLinkCurrency="USD"' \ --form 'paymentLinkCurrencyId="1"' \ --form 'paymentLinkOtherCurrencies="false"' \ --form 'paymentLinkCustomerRedirectUrl="https://google.com"' \ --form 'paymentCustomerFailRedirectUrl="https://google.com"' \ --form 'paymentLinkEmail="udean@smatechgroup.com"' \ --form 'paymentPayerFullNames="Keith Chimeto"' \ --form 'paymentPayerEmailAddress="udean@smatechgroup.com"' \ --form 'paymentPayerAddress="55A"' \ --form 'paymentPayerMobile="263779627951"' \ --form 'paymentLinkImage=@""'
{ "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.0, "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" }