Looking Up Paylinks
Learn how you can look up a previously created Paylink
Overview
You may want to look up a Paylink for a number of reasons, like reviewing the details so you can modify it, or just to confirm its status.
API Request
This endpoint uses API Key AuthenticationCheck out our API KEY Authentication Section to learn more
This endpoint references the paylinkId
of the Paylink, which was provided in the response body when you created the Paylink.
To look up a PayLink, send an API call to:
Staging:
GET https://paylinks.staging.skipify.com/{paylinkId}
Production:
GET https://paylinks.skipify.com/{paylinkId}
API Response
Response Body Parameters
The response body will include all of the elements that you passed to us when you created the Payment Request. It will also include the following:
Response Body Example
{
"paylinkId": "113ad60b-6c4d-41b5-b4f7-3b2444ebdd25",
"link": "https://stagecheckout.skipify.com/paylink/process/113ad60b-6c4d-41b5-b4f7-3b2444ebdd25",
"shortLink": "https://pl-stage.skipify.com/CF62Yt3",
"merchantInvoiceId": "your unique value",
"currencyCode": "USD",
"merchantId": "a1da0dbf-ccde-4265-8ccd-3b987c0a7193",
"metadata": null,
"description": "All sales are final",
"memo": "Thank you for your business",
"tax": null,
"shipping": null,
"orderId": "668570c06f1eder57a289bc7",
"expiration": "2025-05-22T21:44:00.000Z",
"sendSms": false,
"sendEmail": false,
"createdAt": "2024-07-03T15:39:42.021Z",
"updatedAt": "2024-07-03T15:40:00.148Z",
"customerConsent": true,
"total": 2222,
"orderTotal": 2222,
"approvedAmount": 2222,
"lastSentAt": null,
"lineItems": [
{
"paylinkItemId": "59c741-7741-4c39-9097-7bc27b3f2904",
"sku": "ABCDEFG123456",
"paylinkId": "226af40b-6c4d-41b5-b4f7-3b2444ebdd25",
"price": 1111,
"quantity": 2,
"tax": null,
"description": "Blue Hooded Sweatshirt Size L",
"category": "Men's",
"metadata": null,
"createdAt": "2024-07-03T15:39:42.021Z",
"updatedAt": "2024-07-03T15:39:42.021Z"
}
],
"deliveryLogs": [],
"openOrders": [
{
"paylinkId": "226af40b-6c4d-41b5-b4f7-3b2444ebdd25",
"orderId": "668570c06f1eder57a289bc7",
"createdAt": "2024-07-03T15:39:44.766Z"
}
],
"events": [
{
"eventId": "60f993b2-360b-4356-a509-2d5099c5c6b1",
"paylinkId": "226af40b-6c4d-41b5-b4f7-3b2444ebdd25",
"eventType": "CREATED",
"oldValue": null,
"newValue": null,
"createdBy": "API Key",
"createdAt": "2024-07-03T15:39:42.021Z"
},
{
"eventId": "cc32a004-5079-4f43-87fe-1d46231bd909",
"paylinkId": "226af40b-6c4d-41b5-b4f7-3b2444ebdd25",
"eventType": "OPENED",
"oldValue": {
"status": "CREATED"
},
"newValue": {
"status": "OPENED"
},
"createdBy": null,
"createdAt": "2024-07-03T15:39:44.766Z"
},
{
"eventId": "0779a8dd-b6f5-4a60-9501-8b681ba2f5f8",
"paylinkId": "226af40b-6c4d-41b5-b4f7-3b2444ebdd25",
"eventType": "PAID",
"oldValue": {
"status": "OPENED"
},
"newValue": {
"status": "PAID",
"orderTotal": 2222,
"approvedAmount": 2222
},
"createdBy": null,
"createdAt": "2024-07-03T15:40:00.148Z"
}
],
"status": "PAID",
"subTotal": 2222,
"customer": {
"email": null,
"phone": null,
"firstName": null,
"lastName": null,
"paylinkCustomerId": null
},
"attachments": [],
"transactions": [
{
"transactionType": "Sale",
"transactionAmount": 2222,
"pspTransactionId": "406503199",
"skipifyTransactionId": "13223fb91-51c9-42b5-9156-45bc35308e7c",
"cardBrand": "mastercard",
"cardLastFour": "2205",
"cardExpirationMonth": 12,
"cardExpirationYear": 25,
"transactionTimestamp": "2023-11-18T21:02:49.036129Z",
"billingAddress": {
"firstName": "Bob",
"lastName": "Smith",
"address1": "123 Main St",
"city": "Longmont",
"zipCode": "80501",
"state": "CO",
"country": "US"
}
}
],
"enableRecurring": true,
"recurringMethodId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Updated 10 days ago