Find the URL of a payment by the order reference (http GET)
Using the 'url' command a payment can be found for a a specific order reference. The <command> value in the URL must be replaced by: url/<entity key>/<order reference>
A secure connection, as described in the ‘API connection’ page, must be created.
URL PARAMETER | DESCRIPTION |
---|---|
entity key | Every PayByLink entity within the system has its own unique key. When connecting to the PayByLink system, this key must be supplied as well so PayByLink knows within which entity the payment must be created. |
order reference | The unique reference of the order that must be searched. |
Example
https://api.paybylink.com/payment/url/e7140a88-cbba-4cc2-be9f-6e90536703ef/2016REF-A
https://api.paybylink.com/payment/url/e7140a88-cbba-4cc2-be9f-6e90536703ef/2016REF-A
Return values
When the payment could be found successfully, the Payment URL is returned. If the payment could not be found, a 'BadRequest' with a describing message is returned.
Date updated: 2019-10-09