Transaction Response Placeholders
If needed, you can use placeholders from the response to populate specific data in specific fields.
In the following example, while creating an Automation After Charge, the Response Code (aka Approval Code) for the transaction is automatically input in the Note field using the {{response.code}} placeholder.
The following placeholders are available for approved charges.
Transaction Data
- Transaction ID: {{transactionId}}
- URI: {{uri}}
- Terminal ID: {{terminalId}}
- Action: {{action}}
- Amount Base: {{amountBase}}
- Amount Surcharge: {{amountSurcharge}}
- Amount Total: {{amountTotal}}
- Invoice Number: {{invoiceNumber}}
- Purchase Order Number: {{purchaseOrderNumber}}
- Method: {{method}}
- Service: {{service}}
- Status: {{status}}
- Status: {{status}}
- Last Modified: {{lastModified}}
Response
- Approved: {{response.approved}}
- Code: {{response.code}}
- Message: {{response.message}}
- Processor:
- Authorized: {{response.processor.authorized}}
- Approval Code: {{response.processor.approvalCode}}
- Level 3 Eligible: {{response.processor.level3Eligible}}
- Address Verification
- Status: {{response.processor.avs.status}}
- Requested: {{response.processor.avs.requested}}
- Match
- Zip: {{response.processor.avs.match.ZIP}}
- Address: {{response.processor.avs.match.ADDRESS}}
- CVV
- Status: {{response.processor.cvv.status}}
- Match: {{response.processor.cvv.match}}
Settlement
- Settled: {{settlement.settled}}
Vault
- Type: {{vault.type}}
- Account Type: {{vault.accountType}}
- Last Four: {{vault.lastFour}}
Billing
- First Name: {{billing.firstName}}
- Last Name: {{billing.lastName}}
- Email: {{billing.email}}
- Identifier: {{billing.identifier}}
- Address
- Address: {{billing.address.address}}
- Zip: {{billing.address.zip}}