ListTempLinksResponse
truedata object[]required
Unique identifier for the temporary link
123Name of the temporary link
Invoice #1234Full payment URL to share with customers
https://getbasilic.com/pay/abc123xyzShort payment URL to share with customers
https://getbasilic.com/t/abc123xyzPayment amount
150Currency code
USDCurrent status of the link
Possible values: [active, paid, expired, cancelled]
activePayment link template ID
17Payment link template name
Standard Invoice TemplateScheduled expiration timestamp of the temporary link
2025-01-03T10:00:00.000ZformData object
Pre-filled form data
property name* FormValueObject
The actual value to be stored
Human-readable label for display
Allowed payment methods
Possible values: [crypto, bank_transfer, credit_card, argentine_bank]
Your internal reference ID
ORDER_12345Single redirect URL used for both success and failure when configured.
https://merchant.example/checkout/resultRedirect URL used after a successful payment completion.
https://merchant.example/checkout/successRedirect URL used after a failed payment completion.
https://merchant.example/checkout/failuremetadata object
Custom metadata
Custom metadata
{"order_id":"12345"}client objectnullable
Client bound to this temporary payment link, when applicable.
4f0de7f2-7cd9-4ea2-bb82-f3118ddbe94030712345678Acme SApaymentStatus object
Status of payments collected for this specific temporary link.
Collection status for this specific temporary link only.
Possible values: [unpaid, partial, paid, overpaid]
partialTarget amount configured on the temporary link.
150Amount collected through completed payments for this temporary link.
75Amount still pending on this temporary link.
75Total number of payment attempts linked to this temporary link.
2Number of completed payments linked to this temporary link.
1Currency of the temporary link amount.
USDCreation timestamp
2025-01-01T10:00:00.000ZExpiration timestamp
2025-01-03T10:00:00.000ZPayment completion timestamp
2025-01-01T12:30:00.000ZCancellation timestamp
nullpagination objectrequired
Current page number
1Items per page
20Total number of items
150Total number of pages
8{
"success": true,
"data": [
{
"id": 123,
"name": "Invoice #1234",
"url": "https://getbasilic.com/pay/abc123xyz",
"shortUrl": "https://getbasilic.com/t/abc123xyz",
"amount": 150,
"currency": "USD",
"status": "active",
"paymentLinkId": 17,
"paymentLinkName": "Standard Invoice Template",
"dueDatetime": "2025-01-03T10:00:00.000Z",
"formData": {},
"supportedPayments": [
"crypto"
],
"merchantId": "ORDER_12345",
"redirectUrl": "https://merchant.example/checkout/result",
"successUrl": "https://merchant.example/checkout/success",
"failureUrl": "https://merchant.example/checkout/failure",
"metadata": {
"order_id": "12345"
},
"client": {
"id": "4f0de7f2-7cd9-4ea2-bb82-f3118ddbe940",
"taxId": "30712345678",
"name": "Acme SA"
},
"paymentStatus": {
"status": "partial",
"requestedAmount": 150,
"paidAmount": 75,
"remainingAmount": 75,
"paymentCount": 2,
"completedPaymentCount": 1,
"currency": "USD"
},
"createdAt": "2025-01-01T10:00:00.000Z",
"expiresAt": "2025-01-03T10:00:00.000Z",
"paidAt": "2025-01-01T12:30:00.000Z",
"cancelledAt": null
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 150,
"totalPages": 8
}
}