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}$
USDformData 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"]Link expiration time in seconds (60 seconds to 120 days)
Possible values: >= 60 and <= 10368000
172800172800Single 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",
"formData": {
"customer_name": {
"value": "John Doe",
"label": "Customer Name"
}
},
"supportedPayments": [
"crypto",
"bank_transfer"
],
"dueTime": 172800,
"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"
}
}