TempLinkDetails
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"}Creation timestamp
2025-01-01T10:00:00.000ZExpiration timestamp
2025-01-03T10:00:00.000ZPayment completion timestamp
2025-01-01T12:30:00.000ZCancellation timestamp
null{
"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"
},
"createdAt": "2025-01-01T10:00:00.000Z",
"expiresAt": "2025-01-03T10:00:00.000Z",
"paidAt": "2025-01-01T12:30:00.000Z",
"cancelledAt": null
}