Skip to main content

Create Payment Link

Amazon Payment Services provides merchants with flexible options to create payment links according to their business needs and technical capabilities. You can choose the method that best suits your workflow and integration requirements.

Creation Methods

Through Dashboard

You can use Amazon Payment Services dashboard to create a payment link by following these steps:

1

Setup General Information

Login to your Amazon Payment Services account and navigate to General Information tab to add the Terms and Conditions URLs in the fields "English terms and conditions" & "Arabic terms and conditions", then save the settings.

2

Configure Technical Settings

Go to Technical Settings tab click the Redirection hyperlink. Fill in your webhook URL in all required fields. If you don't have a webhook, use your Terms & Conditions URL instead, then save the settings.

3

Generate Payment Link

Navigate to Invoice Management tab and click on Generate New Invoice. Fill the mandatory fields: Merchant Reference, Customer Email, Amount, Notification Type, Expiry date, and Currency.

The Payment Link will be sent to the customer as Email or SMS based on your notification type selection.

If you need to show Tabby on the payment link please make sure to fill the phone number and order description fileds.

Through API

For more advanced option you can use our Payment Links API to create a payment link that you can share with your customers, which will be redirected to payment page hosted by Amazon Payment Services.

API Endpoints

https://sbpaymentservices.PayFort.com/FortAPI/paymentApi

Request Sample

JSON Request sample
{
"service_command": "PAYMENT_LINK",
"access_code": "s4lwuuoY5upZlZY5D6dr",
"merchant_identifier": "WeVJHPYm",
"merchant_reference": "merchantTest-10080",
"amount": "125000",
"currency": "AED",
"language": "en",
"customer_email": "Test@amazon.com",
"request_expiry_date":"2025-07-22T15:36:55+03:00",
"notification_type":"EMAIL",
"signature": "{{signature}}"
}

Make sure merchant reference value is unique value per request.

Check signature calculation section to learn how to calculate the signature.

Response Sample

Response Sample
{
"notification_type": "EMAIL",
"amount": "125000",
"response_code": "48000",
"request_expiry_date": "2025-07-22T15:36:55+03:00",
"payment_link_id": "169996200023561145",
"signature": "503f50a8ac94c86993fbb006664c60d5d1babba81e393cff91951ac122c04985",
"merchant_identifier": "WeVJHPYm",
"access_code": "s4lwuuoY5upZlZY5D6dr",
"language": "en",
"payment_link": "https://sbcheckout.payfort.com/6b52c25dd5d244d6",
"service_command": "PAYMENT_LINK",
"response_message": "Success",
"merchant_reference": "merchantTest-10080",
"customer_email": "Test@amazon.com",
"currency": "AED",
"status": "48"
}

Multiply your transaction amount by the currency decimal code per ISO code 3 before sending the amount parameter. For currencies with three-decimal codes, round VISA transactions to zero in the final decimal place to avoid declined transactions. Example For 500 AED (2 decimal places per ISO code 3), multiply by 100 to send 50000 in your request.

To get a detailed view of all required and optional fields, see our API reference.

Check transaction status

To check the transaction status, check the Check a Transaction Status section.

Handling the response

If you have a webhook, check the webhook section to understand how we send transaction responses to your system.

Through Batch File

To bulk generate payment links and charge your customers using our Payment Link, you simply need to upload a batch file for automated payment link generation, visit this link for more information.

Test Your Integration

Test your integration using one of our testing cards.
Make sure to visit our go-live checklist to go live with Payment Links.

Was this page helpful?

Thanks for your feedback!