CreateTempLinkRequest
Human-readable name for the temporary link
Possible values: non-empty and <= 255 characters
Invoice #1234Payment link template ID from your Basilic dashboard
Possible values: >= 1
17Payment amount
Possible values: >= 0.01
150ISO 4217 currency code
Possible values: Value must match regular expression ^[A-Z]{3}$
USDOptional client tax identifier (CUIT / tax ID) used to bind the temp-link to a Basilic client.
30712345678Optional client name used when creating a lightweight client for a previously unseen clientTaxId.
Acme SAformData object
Pre-filled form data matching the payment link template fields
property name* FormValueObject
The actual value to be stored
Human-readable label for display
Allowed payment methods for this link
Possible values: [crypto, bank_transfer, credit_card, argentine_bank], >= 1
["crypto","bank_transfer"]Unit for dueTime. Use "days" for simplicity (1–120) or "seconds" for precision.
Possible values: [seconds, days]
secondsdaysLink expiration duration. When dueTimeUnit is "days": 1–120. When "seconds": 60–10,368,000. If omitted, the effective default is 172800 because dueTimeUnit defaults to "seconds".
Possible values: >= 1 and <= 10368000
1728007Single redirect URL used for both success and failure. Cannot be combined with successUrl or failureUrl.
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/failureYour internal reference ID
Possible values: <= 255 characters
ORDER_12345metadata object
Custom metadata for your own tracking
Custom metadata for your own tracking
{"order_id":"12345","customer_tier":"premium"}{
"name": "Invoice #1234",
"paymentLink": 17,
"amount": 150,
"currency": "USD",
"clientTaxId": "30712345678",
"clientName": "Acme SA",
"formData": {
"customer_name": {
"value": "John Doe",
"label": "Customer Name"
}
},
"supportedPayments": [
"crypto",
"bank_transfer"
],
"dueTimeUnit": "days",
"dueTime": 7,
"redirectUrl": "https://merchant.example/checkout/result",
"successUrl": "https://merchant.example/checkout/success",
"failureUrl": "https://merchant.example/checkout/failure",
"merchant_id": "ORDER_12345",
"metadata": {
"order_id": "12345",
"customer_tier": "premium"
}
}