Payment Link
1. Introduction
You can manually create a payment link through the ABA PayWay Merchant Portal or the ABA Merchant App. However, we also offer flexibility by allowing you to generate payment links via API, enabling seamless integration with your existing system.
Why is this beneficial for you?
Imagine you own an online streaming shop, where customers purchase items during a live stream. Your system automatically responds to customers and requests payment by asking them to transfer funds to your bank account. This manual process can lead to several issues:
- Incorrect Account Number: Buyers might enter the wrong bank account number.
- Incorrect Payment Amount: Buyers may mistakenly transfer the wrong amount.
- Manual Verification: As a merchant, you must carefully verify transactions before shipping products.
- Time-Consuming & Inefficient: The back-and-forth communication delays order processing.
How does the Payment Link API solve these pain points?
- You can generate a payment link with the exact amount and automatically share it with the buyer.
- Once the buyer completes the payment, PayWay will notify your system, allowing you to automate the rest of the process effortlessly.
2. Integration Steps
Before you start, make sure you have the following:
- PayWay Sandbox Account – Register here to test transactions.
- Sandbox Merchant ID & API Key—You’ll receive these via email after registering for the sandbox.
To create payment link via API, please refer to this API specification Create payment link. Once the payment link is successfully created, it will respond back as a JSON object, and there is a propery payment_link represent the full link of the url which you can share with your customer.
Sample response
Once a successful payment is made on the payment link, PayWay will send a payment notification through your return_url. Your return_url shall accept POST method and Content-Type as application/json.
Sample pushback notification response
Payment transaction ID generated by the payment gateway.
Status of the request.
Your payment link reference number.
To get the details of the payment, use Check transaction with the tran_id value from the response above.