Email Template Twig Variables Overview

Introduction to Twig variables in Upmind email templates

Twig variables are dynamic placeholders used in Upmind’s email templates to personalise and automate message content. You can use these variables in two ways:

  1. Settings > Actions
  2. Settings > Email Templates

Account Twig variables

VariableDescription
idUnique identifier of the account
nameAccount name
typeAccount type designation
statusAccount current status
created_atDate and time the account was created
updated_atLast update timestamp of the account
clientAssociated client information
arrears_credit_maximumMaximum arrears credit allowed
arrears_credit_availableCurrently available arrears credit
arrears_credit_usedUsed arrears credit
arrears_credit_available_converted_formattedFormatted available credit in the account currency
arrears_credit_used_converted_formattedFormatted used credit in the account currency
arrears_credit_maximum_converted_formattedFormatted maximum credit in account currency
currencyAccount currency
enable_negative_wallet_balanceFlag for allowing a negative wallet balance

Brand Twig variables

VariableDescription
idBrand unique identifier
nameBrand name
codeBrand code
prefixPrefix used by the brand
portal_domainMain portal domain for the brand
company_nameLegal or business name of the brand
company_addressOfficial address
company_phoneContact phone number
company_emailContact email
countryBrand’s operational country
languageDefault language configured for the brand
currencyDefault currency
tax_typeTax configuration type
vat_numberVAT number for the brand
payment_days_termDefault payment term in days
create_invoice_termTerm for invoice creation timing
styleStyling parameters or theme
logo_srcURL to the brand’s logo image
created_atBrand creation timestamp
updated_atLast updated timestamp
customer_portal_domainURL for customer-facing portal
staff_portal_domainURL for staff admin portal
organisationAssociated organisation

Brand hook template Twig variables

VariableDescription
idUnique hook template identifier
brand_idAssociated brand identifier
hook_idIdentifier for the hook (event trigger)
template_idTemplate associated with the hook
enabledBoolean indicating if the hook template is active
lockedBoolean marking the template as locked / uneditable
created_atCreation timestamp
updated_atLast update timestamp
deleted_atTimestamp for soft deletion

Bulk action Twig variables

VariableDescription
statusStatus of the bulk action
idBulk action unique identifier
nameBulk action name
org_idOrganisation involved
brand_idBrand involved
user_idUser who triggered the action
status_idInternal status ID
retriedCount of retry attempts
reschedule_idID of any scheduled re-run
action_typeType of action executed
action_dataAdditional data related to the action
segment_idID for client segment targeted
refresh_segmentFlag to update client segment after action
object_typeType of object acted upon
object_idsList of IDs for objects involved
num_scheduledNumber of actions scheduled
num_successfulNumber of successful actions
num_failedNumber of failed actions
started_atStart timestamp of the action
completed_atCompletion timestamp
created_atCreation timestamp
updated_atLast updated timestamp
deleted_atDeletion timestamp (soft delete)
duplicate_idTracking ID for duplicate action

Client Twig variables

VariableDescription
idUnique client identifier
first_nameClient’s first name
last_nameClient’s last name
login_emailEmail used for login
notification_emailEmail used to receive notifications
twofa_enabledFlag if two-factor authentication is enabled
twofa_providerProvider used for two-factor authentication
reg_hashRegistration hash
reg_hash_expiryExpiry time for registration hash
verifiedFlag if email or account is verified
avatar_srcURL to client avatar image
interface_languagePreferred UI language
document_languagePreferred document language
created_atAccount creation timestamp
updated_atLast profile update timestamp
has_passwordFlag if password is set
has_loginFlag if login is enabled
is_guestFlag if it’s a guest user
full_nameFull name of client
default_payment_detailsDefault payment details
default_addressDefault physical address
import_idImport source identifier
staged_importFlag indicating staged import
external_idExternal system ID
support_pinSupport pin code
support_pin_expiry_datetimeExpiry datetime of support pin
firstnameAlternative access to first name
lastnameAlternative access to last name
emailAlternate access to primary email
location_sourceSource of client location
location_townTown or city
location_country_codeCountry code
location_ipIP address
user_idAssociated user ID
upmind_org_user_idOrganisation user ID
reseller_account_idReseller client association id
interface_language_idNumeric UI language ID
document_language_idNumeric document language ID
deleted_atSoft delete timestamp
apply_creditFlag if credits applied
creditCredit balance
consolidate_invoiceInvoice consolidation enabled
consolidation_dayDay of invoice consolidation
bf_idBilling framework ID
ip_addressClient IP address
enabled_2faTwo factor authentication enabled
provider_2fa_idTwo factor provider ID
org_idOrganisation ID
pictureClient picture URL
brand_idAssociated brand ID
last_loginLast login timestamp
fraud_policyFraud detection policy
fraud_statusFraud status
failed_login_attemptsFailed login attempt count
notifications_disabledNotifications disabled status
metaMetadata
order_template_codeDefault order template code
interface_language_codeLanguage code for UI
document_language_codeLanguage code for documents
fullnameFull client name
public_namePublicly displayed name
secret_2fa_existsTwo-factor secret existence
image_urlClient image URL
topup_enabledPrepaid top-up enabled
upmind_org_userOrganisation user object
upmind_package_limitsPackage limits
emailsList of client emails
imageClient image
invoice_consolidation_enabledInvoice consolidation enabled
invoice_consolidation_base_ruleBase rule for invoice consolidation
invoice_consolidation_base_rule_date_of_month_dayMonth day for consolidation
invoice_consolidation_base_rule_day_of_weekDay of week for consolidation
block_new_tickets_from_emailBlock new support tickets from email
default_emailDefault client email
custom_fieldsCustom client field data
custom_field_valuesValues of custom fields
tax_typeTax type
default_phoneDefault phone number
usernameUsername
login_usernameLogin username
before_due_date_charge_intervalPre-due date charge interval
before_due_date_charge_interval_ddPre-due date charge interval (days)
manage_notification_subs_tokenNotification subscription management token
parent_client_configParent client configuration
tagsTags associated with the client
never_suspendFlag to never suspend the client
never_cancelFlag to never cancel the client
never_closeFlag to never close the client
failed_2fa_attemptsCount of failed 2FA attempts
has_legacy_invoicesFlag for legacy invoices
exclude_from_uuid_encodingExclude from UUID encoding
status_idClient status ID
numberClient number
settingsClient settings configurations
tax_exempt_codeTax exemption code
tax_exempt_numberTax exemption number
email_2fa_codeTwo-factor email code
email_2fa_validity_period_secondsTwo-factor email code validity period

Client vault asset Twig variables

VariableDescription
idUnique identifier of the asset
import_idExternal import reference for the asset
staged_importFlag indicating if the asset is from staged import
external_idExternal system ID
client_idAssociated client identifier
lead_idLead identifier if applicable
user_idRelated user identifier
labelLabel or name of the asset
noteAdditional notes
pinnedFlag to pin asset for priority or visibility
visible_for_clientAsset visibility permission
encryptedEncryption status of the asset
contract_product_idLinked contract product ID
created_atCreation timestamp
updated_atLast update timestamp
author_client_idClient ID of asset author
author_user_idUser ID of asset author
editor_client_idClient ID of last editor
editor_user_idUser ID of last editor
lockedLock status to prevent modifications

Client address Twig variables

VariableDescription
idUnique address ID
client_idClient linked to the address
user_idUser linked to the address
defaultIs this address the default one?
typeAddress type (billing, shipping, etc.)
nameName associated with the address
address_1Primary address line
address_2Secondary address line
country_idCountry reference ID
stateState or province
cityCity
postcodePostal or ZIP code
created_atCreation timestamp
updated_atLast modification timestamp
deleted_atSoft deletion timestamp
verifiedVerification status
region_idRegion reference
can_deletePermission flag for deletion
import_idImport reference
staged_importStaged import flag
external_idExternal system ID
regionRegion name
countryCountry name
clientClient object
countyCounty name

Client company Twig variables

VariableDescription
idCompany identifier
address_idLinked address ID
phone_idLinked phone number ID
defaultIs this company the default for client?
verifiedVerification status
created_atCreation date
updated_atLast update date
deleted_atSoft deletion date
nameCompany name
vat_numberVAT registration number
reg_numberCompany registration number
vat_percentVAT percentage
client_idLinked client ID
email_idEmail linked to company
user_idUser linked
can_deletePermission to delete
import_idImport reference
staged_importStaged import flag
external_idExternal system ID
clientLinked client object
vat_validatedVAT validation status
vat_validation_failed_reasonReason for VAT validation failure
vat_validated_withMethod of VAT validation
vat_validation_checked_atVAT validation check date

Client email Twig variables

VariableDescription
idEmail record identifier
emailEmail address
reg_hashRegistration hash for verification
typeEmail type (primary, secondary, etc.)
defaultIs this the default email?
verifiedVerification status
created_atRecord creation date
updated_atLast updated date
client_idClient associated with this email
reg_hash_expiryExpiry date/time of reg hash
clientClient object

Client payment method Twig variables

VariableDescription
activeIs the payment method active?
idPayment method identifier
user_idUser linked to payment method
client_idClient associated
namePayment method name
currency_idCurrency identifier
defaultIs this the default payment method?
address_idAddress linked to payment
card_typeCard brand/type
card_last4Last four digits of card
card_expire_dateExpiry date of the card
allow_bacsBACS payment allowed?
allow_chequeCheque payment allowed?
created_atCreation timestamp
updated_atLast update timestamp
gateway_idGateway used
typePayment method type
pre_expiry_notificationNotify before expiry
can_deleteCan this method be deleted?
external_idExternal identifier
errorsError descriptions
manualManual payment method?
next_actionNext action required
sca_verifiedStrong customer authentication verified?
import_idImport reference
staged_importStaged import flag
auto_paymentIs auto payment enabled?
clientClient object
payment_method_typeType of payment method
autopayment_blockedIs auto payment blocked?
autopayment_blocked_reasonReason for blocking auto payment

Client phone Twig variables

VariableDescription
idPhone record identifier
client_idClient associated
user_idUser linked
typePhone type (mobile, home, etc.)
defaultIs default phone number?
verifiedVerification status
phonePhone number
phone_codePhone country code
created_atRecord creation timestamp
updated_atLast update timestamp
deleted_atSoft deletion timestamp
full_phoneFull formatted phone number
international_phoneInternational number format
country_codeCountry code
phone_country_codeCode of the phone's country
can_deletePermission to delete
import_idImport reference
staged_importStaged import flag
external_idExternal system ID
clientClient object

Contract Twig variables

VariableDescription
total_recurrent_amount_formattedTotal recurring amount, formatted for display
total_amount_formattedTotal amount of the contract, formatted
currencyCurrency used in the contract
idUnique identifier for the contract
nameContract name
start_dateContract start date
end_dateContract end date
next_due_dateNext payment due date
next_invoice_dateDate of the next invoice
cancellation_dateDate when the contract was cancelled
activation_dateDate contract was activated
status_idInternal status identifier
total_recurrent_amountTotal recurring amount
total_amountTotal contract amount
account_idAssociated account ID
user_idUser who owns the contract
brand_idBrand associated with the contract
company_idCompany linked to the contract
address_idAddress linked to the contract
billing_cycle_monthsBilling cycle duration in months
currency_idCurrency identifier
main_invoice_idMain invoice ID
payment_days_termPayment terms in days
create_invoice_termInvoice creation terms
gateway_idPayment gateway used
payment_details_idPayment details reference
main_service_idMain service ID
promotion_idPromotion applied
promotion_codePromotion code
created_atContract creation timestamp
updated_atLast update timestamp
reseller_account_idAssociated reseller account ID
client_idClient ID
recurringIs this contract recurring?
start_recurringStart date for recurring billing
end_recurringEnd date for recurring billing
statusContract status
cancellation_reasonReason for contract cancellation
pricelist_idAssociated price list ID
fraud_statusFraud check status
currency_exchange_rateExchange rate used for currency
external_idExternal system ID
lockedIs contract locked?
billing_cycle_daysBilling cycle duration in days
reconciliation_strictStrict reconciliation flag
main_invoice_numberInvoice number of main invoice
import_idImport reference
staged_importFlag for staged import
finished_staged_importFlag to mark staged import finished
notesAdmin notes
tax_typeApplied tax type
moved_from_contract_idReference to previous contract when moved
moved_to_contract_idReference to next contract when moved
movedIs contract moved?
partially_movedPartial move flag
productsList of products associated
clientClient object
phone_idAssociated phone ID
tracked_referralReferral tracking info

Contract product bulk scheduled action Twig variables

VariableDescription
idUnique identifier of the bulk action
user_idUser who initiated the action
paramsParameters for the action
result_countCount of results processed
readyIs action ready to execute
stuckIs action stuck
created_atCreation timestamp
updated_atLast update timestamp
products_processedNumber of products processed
jobs_dispatchedNumber of jobs dispatched
org_idOrganisation ID
brand_idBrand ID
actionType of action

Contract product scheduled action Twig variables

VariableDescription
idScheduled action ID
contract_idLinked contract ID
contract_product_idLinked contract product ID
brand_idBrand identifier
user_idUser who scheduled the action
original_valuesOriginal data values before action
valuesUpdated values
org_idOrganisation ID
actionAction type
status_idStatus identifier
executed_atAction execution timestamp
deleted_atSoft deletion timestamp
created_atCreation timestamp
updated_atLast update timestamp

Contract request Twig variables

VariableDescription
idRequest ID
contract_idAssociated contract ID
reasonReason for the contract request
product_old_idsOld product IDs associated
status_idRequest status ID
created_atCreation timestamp
updated_atLast update timestamp
deleted_atSoft deletion timestamp
product_idsProduct IDs for the request
ticket_idSupport ticket linked
statusRequest status
contract_product_idLinked contract product ID

Contract product Twig variables

VariableDescription
idUnique identifier of contract product
account_idLinked account ID
contract_idContract associated
product_idProduct identifier
descriptionProduct description
costCost price
cost_currency_idCurrency ID for cost
base_priceBase price
base_price_currency_idCurrency ID for base price
selling_priceSelling price
cost_exchange_rateExchange rate for cost
base_price_exchange_rateExchange rate for base price
quantityQuantity
vat_country_idVAT country reference
vat_percentageVAT percentage
billing_cycle_monthsBilling cycle duration in months
product_set_idProduct set grouping
product_group_idProduct group identification
created_atRecord creation timestamp
updated_atLast update timestamp
deleted_atSoft deletion timestamp
status_idStatus identifier
start_dateContract product start date
end_dateContract product end date
renew_dateRenewal date
amountAmount
invoice_idLinked invoice ID
invoice_product_idInvoice product ID
next_invoice_dateNext invoicing date
next_due_dateNext payment due date
discount_amountApplied discount amount
last_invoice_idLast invoice linked
provision_provider_idProvision provider reference
provision_server_idProvision server ID
provision_center_idProvision center ID
main_contracts_product_idMain contract product ID
provision_lockProvision lock flag
product_nameName of the product
cost_currency_codeCurrency code of cost
base_currency_codeBase currency code
provision_fieldsConfiguration fields for provisioning
amount_formattedFormatted amount
cost_formattedFormatted cost
base_price_formattedFormatted base price
selling_price_formattedFormatted selling price
discount_amount_formattedFormatted discount amount
cost_exchange_rate_formattedFormatted exchange rate for cost
base_price_exchange_rate_formattedFormatted exchange for base price
statusStatus
productProduct object
calculated_suspend_dateDate calculated for suspension
calculated_cancel_dateDate calculated for cancellation
calculated_close_dateDate calculated for closure
suspend_intervalInterval for suspension
cancel_intervalInterval for cancellation
close_intervalInterval for closure
is_dueIs product due for payment
not_suspend_untilRestriction date for suspension
not_cancel_untilRestriction date for cancellation
not_close_untilRestriction date for closure
selling_price_convertedConverted selling price
unit_quantityUnit quantity
configuration_selling_price_formattedFormatted configured price
configuration_total_amount_formattedFormatted configured total
configuration_selling_price_discount_formattedFormatted discounted price
configuration_total_discount_amount_formattedFormatted total discounts
configuration_net_selling_price_formattedFormatted net selling price
configuration_net_amount_formattedFormatted net amount
configuration_net_amount_discount_formattedFormatted net discount
configuration_net_selling_price_discount_formattedFormatted net selling price discount
main_invoice_product_idMain invoice product ID
net_selling_priceNet selling price
net_product_discount_amountNet product discount amount
net_global_discount_amountNet global discount amount
net_amountNet amount
vat_amountVAT amount
total_amountTotal amount
total_discount_amountTotal discount amount
net_selling_price_formattedFormatted net selling price
net_unit_selling_price_formattedFormatted net unit selling price
net_product_discount_amount_formattedFormatted product discount
net_global_discount_amount_formattedFormatted global discount
total_discount_amount_formattedFormatted total discount
net_amount_formattedFormatted net amount
vat_amount_formattedFormatted VAT amount
total_amount_formattedFormatted total amount
configuration_selling_price_discounted_formattedFormatted discounted selling price
configuration_total_discounted_amount_formattedFormatted discounted total amount
configuration_net_amount_discounted_formattedFormatted net discounted amount
configuration_net_selling_price_discounted_formattedFormatted net discounted price
attributesAttributes of the product
optionsProduct options
set_productsSet of products
provision_configuration_idProvision configuration ID
is_provisionedFlag if provisioned
activation_dateActivation date
configuration_total_recurring_amount_formattedFormatted recurring total
configuration_total_recurring_discounted_amount_formattedFormatted recurring discounts
external_idExternal system identifier
service_identifierService identifier
billing_cycle_daysBilling cycle duration in days
suspended_dateSuspension date
cancelled_dateCancellation date
closed_dateClosing date
pro_rata_pendingPending proration
renewRenewal flag
notesNotes
contractLinked contract
provision_field_valuesProvision configuration values
configuration_total_recurring_net_amount_formattedNet recurring total
configuration_total_recurring_net_discounted_amount_formattedNet recurring discounts
next_invoice_date_archiveArchived next invoice date
original_product_idOriginal product ID
can_create_next_invoicePermission to create next invoice
total_amount_without_discount_formattedTotal amount excluding discount
total_amount_without_discount_convertedConverted total excluding discount
total_unit_selling_price_formattedTotal unit selling price
total_unit_selling_price_convertedConverted unit selling price
configuration_total_recurring_amount_convertedConverted recurring total
is_converted_priceFlag indicating converted pricing
is_delegated_objectFlag if object is delegated
price_typePricing type
import_idImport reference
staged_importStaged import flag
main_invoice_idMain invoice reference
main_invoice_numberMain invoice number
manual_statusManual status
manual_status_reasonReason for manual status
paid_future_invoicesFlag if future invoices are paid
can_modifyPermission to modify
can_cancelPermission to cancel
sub_productsNested sub-products
recommended_money_back_periodMoney-back guarantee period
auto_create_renew_invoiceFlag to auto-create renew invoices
payment_days_termPayment terms in days
create_invoice_termInvoice creation terms
expire_notice_dateExpiry notice date
net_amount_without_discount_formattedNet amount excluding discount
active_for_monthsActive duration in months
due_in_daysDays remaining for payment
tax_amountTax amount
tax_amount_formattedFormatted tax amount
client_labelLabel set by client
provision_setup_fields_confirmedConfirmation of provision fields
accounting_revenue_recognitionAccounting revenue recognition
moved_from_contract_product_idPrevious contract product linkage
moved_to_contract_product_idNext contract product linkage
movedFlag if product moved
trial_end_action_timeTrial end action schedule
in_trialIs product in trial period
trial_durationDuration of trial
trial_end_actionAction to execute at trial end
trial_pre_expire_notificationNotification before trial expiry
trial_pre_expire_notification_dateDate for pre-expire notification
trial_end_dateTrial end date
provision_providerService provisioning provider
provision_configurationProvisioning configuration
invoice_consolidation_enabledInvoice consolidation flag
invoice_consolidation_enabled_calculatedCalculated invoice consolidation
tax_entity_detailsTax entity details
tax_entity_hashTax entity hash
exclude_from_uuid_encodingExclude from UUID encoding
last_provision_setup_requestTimestamp of last provision setup
last_reconciled_atLast reconciliation timestamp
retention_status_idRetention policy status ID
retention_reason_idReason for retention status
retention_status_updated_atTime of retention status update
retention_updated_atRetention data last updated
currency_codeCurrency code
future_renewal_pricePrice for future renewal
configuration_future_renewal_priceFormatted future renewal price
nameContract product name
calculated_next_invoice_due_dateNext invoice due date
org_idOrganisation ID
brand_idBrand ID
client_idClient ID
configuration_selling_priceSelling price configured
configuration_total_recurring_net_amountNet recurring total
promotionsApplied promotions
scheduled_actionsScheduled contract actions
promotion_codesPromotion codes
is_parentIndicates if contract product is parent

Cost Twig variables

VariableDescription
amount_formattedThe formatted amount, usually currency formatted for display
currency_codeThe currency code related to the amount (e.g., USD, EUR)

Credit debit transaction Twig variables

VariableDescription
currency_codeCurrency code of the transaction
idUnique identifier of the transaction
creditCredit amount in the transaction
debitDebit amount in the transaction
invoice_idLinked invoice identifier
client_idClient identifier
account_idAccount related to transaction
user_idUser who performed the transaction
transaction_idTransaction unique ID
reasonReason or description for the transaction
created_atDate and time of creation
updated_atLast update date and time
payment_log_idLinked payment log identifier
capturedAmount captured flag
deleted_atSoft deletion timestamp
currency_idCurrency identifier
transaction_typeType of transaction (e.g., payment, refund)
parent_idParent transaction ID
refundedRefund status
amount_refundedAmount refunded
gateway_idPayment gateway identifier
amount_capturedAmount captured
typeTransaction type
currency_exchange_rateExchange rate at the time of transaction
shared_resource_tokenToken for shared resource access
import_idExternal import ID
staged_importStaged import flag
external_idExternal system identifier
document_currency_idCurrency ID for document currency
document_currency_exchange_rateExchange rate for document currency
document_amount_convertedConverted document amount
document_amount_converted_formattedFormatted converted document amount
document_currencyCurrency code for the document

Custom field value Twig variables

VariableDescription
idUnique custom field value identifier
field_idIdentifier of the custom field
valueValue assigned to the custom field
created_atTimestamp when the value was created
updated_atTimestamp when the value was updated
import_idImport reference
staged_importStaged import flag
external_idExternal system ID
object_typeType of object this field relates to
image_urlURL to an image related to the field (if applicable)

Delegate Twig variables

VariableDescription
idUnique delegate identifier
org_idOrganisation ID this delegate is related to
brand_idBrand ID associated with the delegate
owner_client_idClient ID of the owner of the delegation
client_idClient ID who is delegated to
lead_idLead ID linked to the delegation
is_full_delegateBoolean flag, indicates if delegation includes full access
activeBoolean flag, whether delegation is active
hashUnique hash for delegation identification
invite_emailEmail address used for inviting delegate
num_delegated_cpsNumber of delegated contract products
num_delegated_ticketsNumber of delegated support tickets
leadLead object linked to the delegation
clientClient object linked to the delegation
owner_clientOwner client object
created_atCreation timestamp
updated_atLast update timestamp

Delegated access Twig variables

VariableDescription
idUnique delegated access identifier
account_idAccount ID associated
client_idClient associated
object_idObject ID the delegation applies to
object_typeType of the object
creator_object_idCreator ID of the delegated access
creator_object_typeCreator object type
created_atCreated timestamp
updated_atUpdated timestamp
deleted_atSoft deletion timestamp
brand_idBrand ID
activeActive status flag
hashUnique hash identifier
org_idOrganisation ID
invite_emailEmail address used for the invitation
import_idImport reference
staged_importStaged import flag
external_idExternal system ID
owner_client_idOwner client ID
clientClient object
invite_lead_idLead ID for invitation
delegate_idDelegate ID

Email Twig variables

VariableDescription
idUnique email identifier
recipient_type_idType identifier of recipient
recipient_idRecipient ID
client_idClient ID
user_idUser ID
account_idAccount ID
brand_idBrand ID
reseller_account_idReseller account ID
sentWhether the email was sent
message_idMessage ID
bouncedBounced status
error_idError identifier if sending failed
error_messageError message
resend_email_idReference to resent email
template_idTemplate ID used
template_content_idContent ID of the template message
smart_template_idSmart template ID
language_idLanguage ID
subjectEmail subject
smart_email_idSmart email ID
created_atCreation timestamp
updated_atLast update timestamp
sent_atActual sent timestamp
bounced_atBounce timestamp
bounce_dataBounce details
fromSender email address
reply_toReply-to email address
toRecipient email addresses
ccCC email addresses
bccBCC email addresses
hook_log_idRelated hook log ID
resentResent flag
lead_idLinked lead ID
hourly_rate_exceededFlag for hourly rate limits exceeded

Gateway Twig variables

VariableDescription
currenciesList of currencies supported by the gateway
idGateway identifier
nameGateway name
providerGateway provider name
created_atGateway creation timestamp
updated_atGateway last update timestamp
deleted_atGateway deletion timestamp (soft delete)
typeGateway type (e.g., card, bank transfer)
gateway_provider_idExternal provider ID for the gateway
org_idOrganisation ID associated with the gateway
payment_instructionsHuman-readable payment instructions for this gateway
hashInternal hash for gateway reference
gateway_settingsSerialized or structured gateway configuration details
payment_instructions_translatedLocalized payment instructions (translated)
is_storedFlag indicating if gateway data is stored for reuse
card_typesSupported card types (e.g., Visa, MasterCard)
translationsAvailable translations for gateway content
short_descriptionBrief description of gateway capabilities
name_translatedGateway name translated per locale
short_description_translatedTranslated short description
provider_logoLogo asset for the provider
gateway_providerGateway provider object or identifier
oauth_application_access_token_idOAuth token ID used for API access
require_storedWhether stored credentials are required
auth_typeAuthentication type (e.g., OAuth, API key)
webhook_urlWebhook URL for gateway events
import_idImport reference for gateway data
staged_importStaged import flag for gateway data
external_idExternal system ID
allow_manual_storeAllow manual storage of gateway data
use_frontend_implementationIndicator for frontend-based gateway integration
store_on_paymentStore gateway details upon payment
store_on_payment_forceForce-stored gateway details on payment
store_outside_paymentStore gateway details outside the payment flow
internal_nameInternal naming convention for the gateway

Invoice Twig variables

VariableDescription
net_selling_price_formattedFormatted net selling price
net_product_discount_amount_formattedFormatted net product discount amount
net_global_discount_amount_formattedFormatted global discount amount
total_discount_amount_formattedFormatted total discount amount
net_amount_formattedFormatted net amount (after discounts)
vat_amount_formattedFormatted VAT amount
total_amount_formattedFormatted total invoice amount
paid_amount_formattedFormatted amount paid so far (if partial)
current_dataSnapshot of current invoice data (context)
currencyCurrency code (e.g., USD)
idInvoice ID
numberHuman-readable invoice number
brand_idBrand context for the invoice
account_idLinked account ID
client_idClient ID associated with the invoice
gateway_idPayment gateway used for the invoice
payment_details_idPayment details reference
status_idInvoice status identifier
created_atInvoice creation timestamp
updated_atLast invoice update timestamp
deleted_atInvoice deletion timestamp
create_datetimeInvoice creation date/time (alias)
due_datePayment due date
paid_datetimeDate/time when payment completed
total_amountTotal invoice amount (unformatted)
currency_idCurrency identifier
pricelist_idPricing list reference
total_discount_amountTotal discount applied
net_global_discount_amountNet global discount amount (undiscounted)
net_product_discount_amountNet product discount amount (undiscounted)
net_selling_priceNet selling price (before formatting)
net_amountNet amount (before formatting)
VAT fields:VAT-related fields included above as formatted amounts
contract_idContract associated with this invoice
user_idUser performing invoice actions
reseller_account_idReseller context ID if applicable
address_idAddress tied to invoice
category_idInvoice category ID
company_idCompany ID for the invoice context
refund_requestRefund request flag
refund_changedRefund status changed flag
refund_statusCurrent refund status
consolidation_statusInvoice consolidation status
consolidation_invoice_idLinked consolidated invoice ID
credit_invoice_idCredit invoice ID if issued
creditedCredited flag
legacyLegacy invoice flag
notesAdministrative notes
dataArbitrary data payload
statusInvoice status (alias for status_id)
next_charge_dateNext charge date if recurring
payment_failed_attemptsCount of failed payment attempts
lockedInvoice locked flag
guest_token_idGuest session token, if applicable
pre_due_notification_dateNotification date before due date (reminder)
overdue_notification_dateNotification date for overdue status
overdue_left_attemptsRemaining attempts before enforcement
balanceCurrent balance due on the invoice
balance_formattedFormatted balance due
fraud_statusFraud check status
fraud_scoreFraud risk score
ipIP address associated with invoice event
abandonedAbandoned invoice flag
abandon_dateDate when invoice was abandoned
temp_token_idTemporary token for invoice actions
currency_exchange_rateExchange rate used for currency conversion
total_amount_convertedConverted total amount
paid_amount_convertedConverted paid amount
net_discount_amount_formattedFormatted net discount amount
net_discount_amountNet discount amount (raw)
cancellation_datetimeCancellation timestamp (if canceled)
warning_notesAdministrative warnings
categoryInvoice category or taxonomy
credit_invoiceLinked credit invoice, if any
net_amount_convertedConverted net amount
external_idExternal system ID
external_contract_idExternal contract ID, if linked
partial_amount_creditedPartial amount credited
unspent discounts / unspent creditsSee related fields (if applicable)
partial_amount_to_credit_formattedFormatted partial credit amount
partial_amount_to_credit_convertedConverted partial credit amount
partial_amount_credited_formattedFormatted credited amount
partial_amount_credited_convertedConverted credited amount
duplicate_fromOriginal invoice reference if duplicate
duplicated_withDuplicated invoice reference ID
auto_cancel_dateAutomatic cancellation date, if applicable
auto_cancel_pro_rata_datePro-rata date for auto-cancel under terms
duplicate_from_invoice_idID of source invoice in duplicates
duplicatied_with_invoice_id(Alias) duplicate reference
allow_product_creditAllow product-level credit flag
delegate_relatedRelated delegate information
to_be_creditedAmount to be credited
import_idImport reference
staged_importStaged import flag
clientClient object
today_exchange_rateExchange rate for today
pending_paymentsPending payments count/details
vat_amount_convertedConverted VAT amount
tax_amountTax amount
tax_amount_formattedFormatted tax amount
tax_amount_convertedConverted tax amount
display_statusHuman-friendly status label
taxesTaxes applied to invoice
productsProducts included in the invoice
metaMetadata for the invoice
is_consolidationConsolidation flag
phone_idLinked phone ID
payment_currency_idCurrency ID used for payment
payment_currency_exchange_rateExchange rate for payment currency
object_metaObject-level metadata
object_meta_dataAdditional object metadata
gatewayGateway object or identifier used for payment
tracked_referralReferral tracking information
proformaProforma status flag
proforma_numberProforma invoice number
proforma_create_datetimeProforma creation timestamp
cancellation_reasonReason for cancellation, if canceled
sharedShared status flag
paymentsRelated payment records
contractLinked contract object
grouped_taxesTaxes grouped for display

Invoice payment Twig variables

VariableDescription
idPayment ID
invoice_idLinked invoice ID
payment_details_idPayment details reference
voucher_idVoucher or receipt ID
payment_type_idPayment type ID
currency_idCurrency identifier
amountPayment amount
transaction_idTransaction reference with gateway
created_atPayment creation timestamp
updated_atLast update timestamp
deleted_atDeletion timestamp (soft)
capturedCapture status flag
amount_capturedAmount captured
first_date_time_capturedFirst capture timestamp
payment_log_idRelated payment log entry
refundedHas refund occurred?
amount_refundedAmount refunded
parent_idParent payment for split/partial payments
amount_formattedFormatted payment amount
currencyCurrency code (e.g., USD)
payment_typePayment method type
invoiceLinked invoice object
currency_exchange_rateExchange rate used for currency conversion
shared_resource_tokenToken for shared resources
amount_refunded_formattedFormatted refunded amount
amount_for_refund_formattedFormatted refundable amount
amount_convertedConverted amount
amount_refunded_convertedConverted refunded amount
amount_for_refund_convertedConverted refundable amount
pendingPending status flag
import_idImport reference
staged_importStaged import flag
external_idExternal system ID
gatewayGateway object or identifier used for the payment
payment_detailsPayment details object
clientClient object
document_currency_idCurrency ID for document currency (for reporting)
document_currency_exchange_rateExchange rate for document currency
document_amount_convertedConverted document amount
document_amount_converted_formattedFormatted converted document amount
document_currencyDocument currency code
payment_method_typePayment method type (e.g., card)
payment_method_type_deprecatedDeprecated field for payment method type
payment_method_type_logPayment method type history/log

Lead Twig variables

VariableDescription
idLead ID
nameLead name
firstnameLead first name
lastnameLead last name
emailLead email address
is_mainIs this the main contact for the lead?
is_hiddenIs lead hidden from certain views?
phoneLead phone number
phone_codeLead phone code
phone_country_codeLead phone country code
international_phoneInternational formatted phone
client_idLinked client ID, if converted
commentLead notes or comments
assigned_client_atTimestamp when assigned to a client
created_atLead creation timestamp
updated_atLead last update timestamp
user_idUser linked to the lead
brand_idBrand context
org_idOrganisation context
full_nameFull name of the lead

Domain Twig variables

VariableDescription
idDomain identifier
user_idUser responsible for domain context
nameDomain name or label
originSource origin or base domain reference
org_idOrganisation ID owning the domain
brand_idBrand ID associated with the domain (for branding context)
verifiedWhether the domain verification has completed
defaultIs this the primary domain for the entity
customCustom flags or settings for the domain
revokedWhether the domain has been revoked
created_atDomain creation timestamp
updated_atLast update timestamp
origin_healthyHealth flag for the origin/delivery path
customer_enabledWhether customers can access or use this domain
providerUnderlying provider (e.g., DNS providers)
staff_enabledWhether staff can manage/use domain specifics
dns_healthyDNS health status
ssl_healthySSL health status
health_checked_atLast time health was checked
dns_checked_atLast DNS health check timestamp
ssl_checked_atLast SSL health check timestamp
no_health_checks_untilTime until next health check is required

Organisation Twig variables

VariableDescription
idOrganisation identifier
nameOrganisation name
codeOrganisation code/short name
verifiedOrganisation verification status
completedCompletion status of initial setup/verification
statusCurrent status (e.g., active)
portal_domainDefault portal domain for organisation
reg_hashRegistration hash (for onboarding flows)
staff_portal_domainDomain for staff/admin portal
reg_hash_expiryExpiry timestamp for onboarding reg hash

Payment reconciliation log Twig variables

VariableDescription
idReconciliation log ID
callbackCallback data or flag
transaction_referenceExternal reference to the transaction
descriptionDescription of the reconciliation event
reasonReason for reconciliation action
providerPayment provider or gateway name
eventEvent type triggering reconciliation
org_idOrganisation ID involved
gateway_idGateway used for the transaction
created_atCreation timestamp
updated_atLast update timestamp
brand_idBrand context
account_idAccount context

Payment log Twig variables

VariableDescription
idPayment log ID
brand_idBrand context
account_idAccount context
user_idUser who initiated payment
client_idClient receiving payment
payment_details_typeType of payment details object
statusPayment status (e.g., captured, pending)
transaction_idGateway transaction reference
invoice_idLinked invoice
currency_idCurrency identifier
amountPayment amount (raw)
clients_payment_detail_idClient's payment detail reference
gateway_idGateway used for payment
transaction_typeType of transaction (e.g., sale, refund)
created_atCreation timestamp
updated_atLast update timestamp
currency_exchange_rateExchange rate used for currency conversion
shared_resource_tokenToken for shared resources
resultResult flag or status from processing
address_idAddress related to payment
result_log_idRelated result log entry
wallet_idWallet context identifier
document_currency_idCurrency for document/reports
document_currency_exchange_rateExchange rate for document currency
document_amount_convertedConverted document amount
document_amount_converted_formattedFormatted converted document amount
document_currencyDocument currency code
payment_method_typeType of payment method used

Pricelist Twig variables

VariableDescription
idPricelist ID
namePricelist name
user_idOwner user ID
reseller_account_idAssociated reseller account if applicable
created_atCreation timestamp
updated_atLast update timestamp
deleted_atSoft deletion timestamp
org_idOrganisation ID owning the pricelist
inheritanceInheritance flag or parent pricelist reference

Product Twig variables

VariableDescription
name_translatedTranslated product name
description_translatedTranslated product description
tldTop-level domain or related TLD context
domain_operation_codeDomain operation code (e.g., create, renew)
provision_fieldsProvisioning fields and definitions
categoryProduct category
translationsAvailable translations for product fields
idProduct ID
nameProduct name
codeUnique product code
billing_cycle_monthsBilling cycle duration in months
available_for_salesAvailability flag for sales
created_atCreation timestamp
updated_atLast update timestamp
brand_idBrand association
user_idOwner user ID
reseller_account_idReseller account ID (if applicable)
deleted_atSoft deletion timestamp
product_typeType of product (e.g., service, license)
order_typeOrdering type
unit_quantityBase unit quantity per order
set_order_typeOrder type for sets
min_order_quantityMinimum quantity allowed
max_order_quantityMaximum quantity allowed
set_price_typePricing type for sets
contract_typeContract type associated
currency_idCurrency ID for pricing
max_order_billing_cycleMax billing cycle for orders
max_set_use_periodMaximum use period for set products
voucher_valueValue of any voucher applied
voucher_currency_idCurrency for voucher value
voucher_typeVoucher type
voucher_use_monthsDuration voucher is valid (months)
set_end_dateEnd date for set products
auto_renewAuto-renew flag
manual_assistanceManual assistance flag
manual_priceManual price override flag
provision_category_idProvisioning category reference
provision_provider_typeProvisioning provider type
main_productIndicates if this is the main product in a bundle
in_groupGrouping indicator for products
original_product_idOriginal product reference for clones/variants
org_idOrganisation owning the product
affiliate_product_idAffiliate product mapping
tld_idTLD reference ID
operation_typeOperational type for provisioning
products_category_idProduct category reference
products_options_category_idProduct options category reference
products_attributes_category_idProduct attributes category reference
descriptionProduct description
orderOrder metadata or sequence
category_idCategory ID for organizational grouping
start_dateProduct validity start date
end_dateProduct validity end date
short_descriptionShort product description
short_description_translatedTranslated short description
additional_currency_recalculationFlag for currency recalculation behavior
display_priceDisplay price value
display_price_billing_cycle_monthsPrice display relative to billing cycles
unit_idUnit identifier
provision_provider_idProvisioning provider ID
provision_blueprint_idProvisioning blueprint ID
provision_configuration_modeProvisioning mode
provision_configuration_idProvisioning configuration ID
clients_can_orderClient order permission
provision_configuration_attribute_queryProvisioning attribute query
provision_blueprint_setup_function_idProvisioning setup function ID
tax_template_idTax template reference
external_idExternal system ID
default_payment_periodDefault payment period for invoicing
import_idImport reference
staged_importStaged import flag
allow_affiliateAffiliate permission
suspend_intervalSuspension interval
cancel_intervalCancel interval
close_intervalClose interval
due_date_free_changeFree change of due date flag
due_date_restrictionDue date restriction policy
reactivate_status_restrictionReactivation restriction policy
cancel_anytimeCancel anytime flag
recommended_money_back_periodMoney-back recommendation period
payment_days_termPayment term in days
create_invoice_termInvoice creation term
module_codeModule code for integrations
module_sub_idModule sub-identifier
auto_create_renew_invoiceAuto-create renew invoice flag
post_paidPost-paid flag
hide_catalogHide catalog flag
ui_settingsUser interface settings for product
old_provision_blueprint_idHistorical blueprint reference
provision_setup_field_defer_modeProvisioning field defer mode
accounting_revenue_recognitionRevenue recognition settings
metaMetadata for the product
trial_supportedTrial support flag
trial_durationDuration of trial (in days)
trial_end_actionAction at trial end
trial_pre_expire_notificationPre-expire notification flag/date
trial_forceForce trial flag
is_trial_onlyIs trial-only product
can_disable_auto_create_renew_invoiceAuto-renew disable flag
invoice_consolidation_enabledInvoice consolidation flag
finished_staged_importFinished staged import flag
auto_accept_cancel_requestAuto-accept cancel requests flag
report_code_1Custom report code 1
report_code_2Custom report code 2
brand_ticket_department_idBrand ticket department reference
hiddenVisibility flag for product
provision_metaProvisioning metadata
provision_field_valuesProvisioning field values
exclude_from_uuid_encodingExclude from UUID encoding flag
brandBrand reference or object
manual_recurring_days_before_due_dateDays before due date for manual recurrence
split_quantityQuantity split behavior

Product group Twig variables

VariableDescription
name_translatedLocalized name of the product group
translationsCollection of translations related to the product group

Promotion Twig variables

VariableDescription
name_translatedLocalized name of the promotion
description_translatedLocalized description text
amount_formattedPromotion amount formatted for display
translationsSet of localized strings associated with the promotion
idUnique identifier for the promotion
nameName of the promotion
from_dateStart date validity
to_dateEnd date validity
max_usesMaximum allowed uses
number_of_usesNumber of times promotion has been used
codePromotion code
brand_idAssociated brand identifier
for_new_clientsFlag indicating applicability to new clients
for_existing_clientsFlag indicating applicability to existing clients
for_upgrade_clientsFlag indicating applicability for upgrades
promo_recurring_countCount of recurring promo usage
activeWhether the promotion is currently active
user_idUser who created or manages the promotion
reseller_account_idReseller account linked to the promotion
created_atCreation timestamp
updated_atLast updated timestamp
deleted_atSoft deletion timestamp
max_uses_per_clientMax usage allowed per individual client
autoapplyWhether the promotion auto-applies
used_atTimestamp when promotion was last used
globalGlobal flag for promotion scope
amountNumeric promotion amount
currency_idCurrency identifier for the amount
typeType/category of promotion
combinedWhether combinable with other promotions
short_descriptionBrief textual description
short_description_translatedLocalized brief description
pricelist_idRelated pricelist identifier
billing_cycle_monthsApplicable billing cycle in months
external_idIdentifier from external systems
show_on_catalogVisibility flag for catalog display
constant_discountFlag indicating a fixed discount
hiddenFlag whether promotion is hidden
adjusted_basket_idBasket identifier adjusted by promotion
min_quantityMinimum quantity to activate promotion
max_quantityMaximum quantity allowed for promotion

Provision result Twig variables

VariableDescription
idUnique identifier of the provisioning result
request_idRelated provisioning request ID
statusCurrent status of the provisioning (e.g., success/fail)
messageStatus or error message
error_idIdentifier for any error occurred
created_atTimestamp of creation
updated_atLast updated timestamp
dataAdditional data or payload returned
import_idImport process identifier
staged_importFlag if the import was staged
external_idExternal system identifier
debugDebugging data or logs
exclude_from_uuid_encodingFlag indicating exclusion from UUID encoding
requestObject or content of the original provisioning request

Report Twig variables

VariableDescription
idReport identifier
brand_idAssociated brand identifier
user_idUser who generated the report
report_codeCode representing the report
filenameFilename of the report file
paramsParameters used for report generation
readyFlag indicating if the report is ready for download
created_atReport creation timestamp
updated_atLast update timestamp
download_urlURL for downloading the report
externalFlag if report is externally sourced

Tax tag Twig variables

VariableDescription
idTax tag identifier
nameTax tag name
typeTax type/category
amountNumeric tax amount
currency_idCurrency associated with the tax
tax_type_idType ID for classification
tax_codeOfficial tax code
org_idOrganisation identifier
user_idUser who created or modified the tag
show_on_itemFlag to display on item lines in invoice
show_on_invoiceFlag to display on invoice summaries
created_atCreation timestamp
updated_atLast update timestamp
deleted_atSoft deletion timestamp
brand_idBrand context
base_typeBase tax type
company_typeCompany classification for tax
company_amountCompany related tax amount
require_company_vat_numberVAT number requirement flag
require_company_reg_numberRegistration number requirement flag
apply_on_main_product_onlyApply tax only on main product
apply_based_on_product_quantityApply based on quantity thresholds
name_translatedLocalized tax name
system_tagSystem internal tag name
amount_formattedFormatted tax amount
company_amount_formattedFormatted company tax amount
fixed_amount_apply_on_zeroFlag for fixed tax applying on zero sales

Tax template Twig variables

VariableDescription
idTax template identifier
nameName of the tax template
brand_idAssociated brand
org_idOrganisation owning the template
user_idUser who created or modified the template
created_atCreation timestamp
updated_atLast update timestamp
deleted_atSoft deletion flag
defaultFlag marking default template
name_translatedLocalized template name
system_templateFlag indicating a system-defined template

Template Twig variables

VariableDescription
subjectThe subject line of the email template
bodyThe main body content (HTML/text) of the template
idUnique identifier for the template
nameName of the template
category_idCategory grouping identifier
channel_idCommunication channel identifier
recipient_type_idType identifier for intended recipients
brand_idBrand the template is associated with
reseller_account_idReseller account associated with template
reseller_can_copyFlag allowing reseller to duplicate the template
defaultFlag indicating if template is default
enabledTemplate enabled status
codeUnique code identifier
user_idUser who created or owns the template
created_atCreation timestamp
updated_atLast updated timestamp
deleted_atTimestamp of soft deletion
typeTemplate type (e.g., email, notification)
send_attachmentFlag indicating if attachments are sent
original_template_idReference ID for cloned/original template
template_layout_idLayout structure ID
bccBlind carbon copy addresses
ccCarbon copy addresses
topic_idTopic or conversation grouping identifier

Template content Twig variables

VariableDescription
idContent record identifier
template_idParent template ID
language_idLanguage identifier for localization
enabledContent enabled flag
defaultFlag indicating default content for language
subjectContent subject line
bodyContent body text or HTML
created_atCreation timestamp
updated_atLast updated timestamp
deleted_atSoft deletion timestamp
smart_template_idLinked smart template ID

Ticket Twig variables

VariableDescription
statusCurrent status of the ticket
idTicket unique identifier
referenceHuman-readable reference code
subjectTicket subject line
client_idAssociated client’s identifier
reseller_account_idReseller account linked
account_idAccount ID related to ticket
brand_idBrand context identifier
org_idOrganisation ID
user_idUser responsible for the ticket
status_idNumerical status identifier
created_atTicket creation datetime
updated_atLast update timestamp
lead_idLead ID associated
invoice_idInvoice related to ticket
calculated_notify_close_dateCalculated notification date for closure
calculated_close_dateCalculated closure date
ticket_department_idDepartment handling the ticket
priority_idPriority level identifier
object_typeType of object ticket is related to
object_idID of the related object
template_idTemplate applied to ticket
contract_product_idLinked contract product
is_delegated_objectFlag for delegation status
clientClient object
leadLead object
source_typeOrigin type of ticket
source_ipIP address from which ticket was created
email_fileLinked email file attachments
import_idImport reference
staged_importStaged import flag
external_idExternal system ID
departmentTicket department name
first_messageFirst message content
last_messageLast message content
spamSpam flag
spam_reasonReason for spam flag
lead_userUser linked as lead
can_see_ticket_messagesPermission flag for ticket messages visibility

Ticket message Twig variables

VariableDescription
user_nameName of the user who sent the ticket message
client_nameName of the client who sent the ticket message
user_image_urlURL of the user’s avatar image
client_image_urlURL of the client’s avatar image
idTicket message identifier
ticket_idLinked ticket identifier
client_idClient sending the message
user_idUser sending the message
is_privateFlag indicating message privacy
bodyMessage content
created_atCreation timestamp
updated_atLast updated timestamp
ticketTicket object
lead_idLead linked to message
template_idTemplate used for message
object_typeRelated object type
object_idRelated object ID
deleted_atSoft delete timestamp
reasonReason for deletion or action
actionAction taken
original_ticket_message_idReference ID for original message
is_logFlag indicating if message is log entry
source_typeOrigin type of message
source_ipIP address source
user_actor_idUser actor identifier
client_actor_idClient actor identifier
lead_actor_idLead actor identifier
actor_nameDisplay name of the actor
actor_image_urlURL of the actor’s avatar
email_fileAttached email files
import_idImport reference
staged_importStaged import flag
external_idExternal system ID
pinnedFlag indicating if the message is pinned
is_authorFlag indicating if sender is author
can_managePermission flag for managing the message

Ticket user Twig variables

VariableDescription
idTicket user identifier
ticket_idAssociated ticket identifier
user_idLinked user identifier
defaultFlag indicating default user for ticket
actor_idActor role ID
created_atCreation timestamp
updated_atLast updated timestamp
import_idImport reference
staged_importStaged import flag
external_idExternal system identification
ticketTicket object
userUser object
actorActor object

User Twig variables

VariableDescription
idUnique user identifier
first_nameUser’s first name
last_nameUser’s last name
emailEmail address
twofa_enabledFlag for two-factor authentication enabled
twofa_providerProvider of two-factor authentication
reg_hashRegistration hash
reg_hash_expiryExpiry timestamp for registration hash
phone_codeUser's phone country code
phonePhone number
verifiedEmail or user verification status
avatar_srcURL to user’s avatar image
interface_languagePreferred UI language
document_languageLanguage for documents or notices
created_atAccount creation timestamp
updated_atLast profile update timestamp
is_adminFlag if the user has administrative privileges
full_nameFull concatenated name
manage_notification_subs_tokenToken managing notification subscriptions
has_password_auth_configFlag if password authentication is configured
email_2fa_codeEmail two-factor authentication code

Wallet Twig variables

VariableDescription
idWallet unique identifier
import_idIdentifier for imported wallet data
staged_importFlag indicating staged import
external_idExternal system wallet ID
client_idClient associated with the wallet
brand_idBrand associated with wallet
currency_idCurrency identifier for wallet amounts
typeType of wallet (e.g., prepaid, postpaid)
amountCurrent wallet balance amount
currency_exchange_rateExchange rate for currency conversion
created_atWallet creation timestamp
updated_atLast update timestamp
account_idLinked account ID
invoice_idLinked invoice ID
transaction_idLinked transaction ID
payment_log_idPayment log reference ID
refundedFlag indicating if wallet has refunds
amount_refundedTotal amount refunded
gateway_idGateway through which wallet payments are processed
gateway_typeType of gateway
refund_request_idRefund request identifier
amount_overpaidAmount overpaid beyond balance
lockedWallet locked status
affiliate_payoutAffiliate payout related to wallet
amount_formattedFormatted wallet amount for display
amount_convertedConverted wallet amount
amount_converted_formattedFormatted converted amount
amount_overpaid_formattedFormatted overpaid amount
amount_overpaid_convertedConverted overpaid amount
amount_overpaid_converted_formattedFormatted converted overpaid amount
amount_refunded_formattedFormatted refunded amount
amount_refunded_convertedConverted refunded amount
amount_refunded_converted_formattedFormatted converted refunded amount
brandBrand object or name
currencyCurrency object or code
document_currency_idDocument currency identifier
document_currency_exchange_rateExchange rate for document currency
document_amount_convertedDocument amount converted
document_amount_converted_formattedFormatted converted document amount
document_currencyDocument currency code
topup_credit_note_idTop-up credit note identifier
payment_method_typePayment method type used
payment_method_type_deprecatedDeprecated payment method type
statement_idAssociated statement ID
transaction_reasonReason for wallet transaction

Wallet refund Twig variables

VariableDescription
idWallet refund unique identifier
wallet_idAssociated wallet identifier
amountRefund amount
currency_exchange_rateExchange rate used for the refund
created_atRefund creation timestamp
updated_atLast refund update timestamp
currency_idCurrency identifier for refund
refund_request_idRefund request linked
brand_idBrand relevant to refund
account_idAccount related to the refund
client_idClient receiving refund
amount_formattedFormatted refund amount
amount_convertedConverted refund amount
amount_converted_formattedFormatted converted refund amount
currencyCurrency code or object

Wallet statement Twig variables

VariableDescription
idWallet statement identifier
client_idClient associated with statement
account_idAccount linked to statement
org_idOrganisation owning the statement
brand_idBrand identifier
created_atCreation timestamp
updated_atLast updated timestamp
from_dateStart date for statement period
to_dateEnd date for statement period
currency_idCurrency identifier
currency_exchange_rateCurrency exchange rate
arrears_credit_maximumMaximum arrears credit allowed
arrears_credit_usedTotal arrears credit used
arrears_credit_availableCurrent available arrears credit
total_amountTotal amount on statement
total_amount_converted_formattedConverted total amount formatted
arrears_credit_available_formattedFormatted available arrears credit
arrears_credit_available_converted_formattedConverted and formatted arrears credit
arrears_credit_used_formattedFormatted arrears credit used
arrears_credit_used_converted_formattedConverted and formatted arrears used
arrears_credit_maximum_formattedFormatted maximum arrears allowed
arrears_credit_maximum_converted_formattedConverted formatted maximum arrears
client_download_urlURL for client to download statement
admin_download_urlURL for admin to download statement
brandBrand context
accountAccount object
clientClient object
documentsList of documents attached or linked
client_download_csv_urlCSV download URL for client
admin_download_csv_urlCSV download URL for admin

Webhook endpoint Twig variables

VariableDescription
idUnique identifier for the webhook endpoint
nameName of the webhook endpoint
descriptionDescription of the webhook’s purpose
brand_idBrand associated
urlURL target for webhook calls
secretShared secret for securing webhooks
enabledFlag indicating if webhook is active
created_atCreation timestamp
updated_atLast updated timestamp
deleted_atSoft deletion timestamp
versionEndpoint version number
webhook_endpoint_authentication_idAuthentication method ID
providerProvider or service linked
webhook_extra_payload_idID for additional payload customization

Whitelisted IP Twig variables

VariableDescription
idUnique identifier for whitelisted IP
ip_addressIP address allowed
nameName or label for the IP entry
created_atTimestamp of the whitelist entry creation
updated_atLast update timestamp for the whitelist entry