Get Payment Link
A merchant can get the details of any of their payment links by using GET Payment Link endpoint. This is quite useful when it is necessary for the current state of a payment link. To read more information please check the API reference page.
GET /v3/paymentLinks/{linkId}?businessId={your_businessId}
https://stagconnect.acehubpaymentservices.com/gateway/v3/paymentlinks/{id}?businessId={businessId}
{
"result": 0,
"description": "Ok",
"header": {
"requestTimestamp": "2019-01-01T12:00:00Z"
},
"body": {
"link": {
"linkId": "{linkId}",
"status": "READY",
"redirect": {
"method": "GET",
"url": "https://stagconnect.acehubpaymentservices.com/gateway/v3/web/paymentlinks/{linkId}"
},
"brandIds": [
1010,
1011,
1013,
1020,
1023,
1030,
1040,
1050,
1060,
1090,
1210,
3010,
3020,
3025,
4010,
6010,
5020,
8010
],
"expirationTime": "2019-01-08T12:00:00Z",
"tokenize": "FALSE",
"threeDSecure": false
},
"transaction": {
"amount": 10,
"currencyCode": "EUR",
"authorizationMode": "PAYMENT",
"trackingCode": "{UniqueTrackingCode}"
}
}
}
https://stagconnect.acehubpaymentservices.com/gateway/v3/paymentlinks?businessId={businessId}&trackingCode={trackingCode}
{
"result": 0,
"description": "Ok",
"header": {
"requestTimestamp": "2019-01-01T12:00:00Z"
},
"body": {
"link": {
"linkId": "{linkId}",
"status": "READY",
"redirect": {
"method": "GET",
"url": "https://stagconnect.acehubpaymentservices.com/gateway/v3/web/paymentlinks/{linkId}"
},
"brandIds": [
1010,
1011,
1013,
1020,
1023,
1030,
1040,
1050,
1060,
1090,
1210,
3010,
3020,
3025,
4010,
6010,
5020,
8010
],
"expirationTime": "2019-01-08T12:00:00Z",
"tokenize": "FALSE",
"threeDSecure": false
},
"transaction": {
"amount": 10,
"currencyCode": "EUR",
"authorizationMode": "PAYMENT",
"trackingCode": "{UniqueTrackingCode}"
}
}
}
Updated over 2 years ago