Payment Links allow you to securely accept E-commerce payments by generating a URL link via our API which can then be sent out in an email to your customers directly. This keeps your system out of PCI scope while giving you access to fraud prevention and diverse payment methods.
🚀 Getting Started
To initiate a payment link API call, your application must build the JSON request body with a proper Basic Auth header and submit an HTTP_POST request to one of the following endpoints:
Live Environment:https://api.e-xact.com/payment_links
At a minimum, your POST request must include the following fields. If any are missing or invalid, the customer will see an error.
Field
Description
amount
The total amount to be charged on this payment link transaction in smallest currency unit. (5000 would result in a charge for $50.00)
minutes_until_expiry
The number of minutes the payment link should be active for before it is considered expired and no longer valid
transaction_type
The type of transaction this payment link should be processing. Options are: AUTH_CAPTURE - Purchase AUTH_ONLY - Preauthorization AUTH_TOKEN - Tokenized Preauthorization (returns a token for follow up transactions) PURCHASE_TOKEN - Tokenized Purchase (returns a token for follow up transactions)
🚧
Unlike our standard Transaction API (which formats amounts with a decimal, e.g. 15.99), the Payment Link API requires all transaction amounts to be passed as an integer representing the total value in cents.
You must remove all decimals from your payload for this endpoint.
$15.99 must be passed as 1599
$1,250.00 must be passed as 125000
Transaction and Display Fields
Customer Fields
Field Category
Included Fields
Customer information
first_name last_name company ip_address email phone fax
Customer Address Fields
Field Category
Included Fields
Customer address
line1 city state country_code postal_code
Customer Ship To Fields
Field Category
Included Fields
Customer ship to information
first_name last_name state company
Customer Ship To Address Fields
Field Category
Included Fields
Customer ship to address
line1 city state country_code postal_code
Reference Fields
Field Category
Included Fields
Reference details
customer_ref - Purchase order number reference_no - Invoice number reference_3 - Merchant defined reference
Line Item Fields
Field Category
Included Fields
Line item details
used to display a breakdown of items and their costs on the payment form
item_id quantity price title description taxable
Split Customer Fields
Field Category
Included Fields
Split customer details
used to display a breakdown of costs between customers on one bill on the payment form
customer_name amount
Option Fields
Field Category
Included Fields
Additional options
generate_qr_code - return a QR code of the payment link URL in the response tos_url - displays a terms of service URL on the payment form privacy_url - displays a terms of privacy policy URL on the payment form