Authorization Detail

{{ auth_literal }}

{{ merchant_name }} {% if merchant_email %}{{ merchant_email }}{% endif %}
Generated: {{ generated_at }}
Status
{{ status or "—" }}
Auth Type
{% if authorization_type == "CHECKBOX" %}Checkbox {% elif authorization_type == "SIGN" %}Signature {% elif authorization_type == "SMS" %}SMS {% else %}{{ authorization_type or "—" }}{% endif %}
{% if authorization_date %}
Authorization Date
{{ authorization_date }}
{% endif %} {% if is_verified %}
Verified
✔ Yes
{% endif %}

Account

{% if customer %}
Account Name : {{ customer_display_name or "N/A" }}
{% if customer.business_legal_name %}
Business Name : {{ customer.business_legal_name }}
{% endif %}
Customer ID : {{ customer.customer_id or customer.id }}
{% if customer.account_literal %}
Account Ref : {{ customer.account_literal }}
{% endif %} {% if customer.email %}
Email : {{ customer.email }}
{% endif %} {% if customer.phone %}
Phone : {{ customer.phone }}
{% endif %} {% else %}
No account data
{% endif %}

Payer

{% if payer %}
Payer Name : {{ payer_display_name or "N/A" }}
{% if payer.email %}
Payer Email : {{ payer.email }}
{% endif %} {% if payer.phone %}
Payer Phone : {{ payer.phone }}
{% endif %} {% if payer.contact_id %}
Contact ID : {{ payer.contact_id }}
{% endif %} {% else %}
No payer data
{% endif %}

Payment Info

{% if payment_request %}
Auth Amount : ${{ "%.2f"|format(payment_request.amount or 0) }}
Currency : {{ (payment_request.currency or "USD")|upper }}
{% if payment_request.payment_frequency %}
Frequency : {{ payment_request.payment_frequency|replace("_"," ")|title }}
{% endif %} {% if payment_request.payment_request_literal %}
Payment Req # : {{ payment_request.payment_request_literal }}
{% endif %} {% if payment_request.title %}
Title : {{ payment_request.title }}
{% endif %} {% else %}
No payment data
{% endif %}

Timestamps

Created At : {{ created_at or "—" }}
Auth Date : {{ authorization_date or "—" }}
{% if expired_at %}
Expired At : {{ expired_at }}
{% endif %}
{% if hpp_session %}

Geo & IP

{% if hpp_session.ip_address %}
IP Address : {{ hpp_session.ip_address }}
{% endif %} {% if hpp_session.geo_city %}
City : {{ hpp_session.geo_city }}
{% endif %} {% if hpp_session.geo_region %}
Region : {{ hpp_session.geo_region }}
{% endif %} {% if hpp_session.geo_country %}
Country : {{ hpp_session.geo_country }}
{% endif %} {% if hpp_session.user_agent %}
User Agent : {{ hpp_session.user_agent }}
{% endif %}
{% endif %}
Authorization Proof
Type: {{ authorization_type or "—" }}
{% if proof %} {% if proof.authorization_type in ("CHECKBOX", "checkbox") %} {% if proof.signing_name %}
Signed By : {{ proof.signing_name }}
{% endif %} {% if proof.ip_address %}
IP Address : {{ proof.ip_address }}
{% endif %} {% if proof.authorization_literal %}
Auth Reference : {{ proof.authorization_literal }}
{% endif %} {% elif proof.authorization_type in ("SIGN", "sign") %} {% if proof.signing_name %}
Signed By : {{ proof.signing_name }}
{% endif %} {% if proof.ip_address %}
IP Address : {{ proof.ip_address }}
{% endif %} {% if proof.signature_url %}
Signature:
Signature
{% endif %} {% elif proof.authorization_type in ("SMS", "sms") %} {% if proof.verified_phone_last4 %}
Verified Phone : ••• ••• ••••{{ proof.verified_phone_last4 }} Verified
{% endif %} {% if proof.authorization_value %}
OTP Code : {{ proof.authorization_value }}
{% endif %} {% if proof.ip_address %}
IP Address : {{ proof.ip_address }}
{% endif %} {% else %}
No proof data available.
{% endif %} {% else %}
No proof data available.
{% endif %}
{% if history %}
History
{% for event in history %}
{{ event.event }}
{{ event.occurred_at }}
{% endfor %}
{% endif %} {% if invoices is defined or transactions is defined %}
Associations
Invoices
{% if invoices and invoices|length > 0 %} {% for inv in invoices %} {% endfor %}
Invoice # Amount Status Date Due Date
{{ inv.invoice_literal or inv.invoice_id or "—" }} ${{ "%.2f"|format(inv.amount or 0) }} {{ inv.status_text or inv.status or "—" }} {{ inv.created_at or "—" }} {{ inv.due_date or "—" }}
{% else %}
No invoices associated with this authorization.
{% endif %}
Transactions
{% if transactions and transactions|length > 0 %} {% for txn in transactions %} {% endfor %}
Transaction # Amount Status Type Date
{{ txn.txn_literal or txn.txn_id or "—" }} ${{ "%.2f"|format(txn.txn_amount or 0) }} {{ txn.status_text or txn.txn_status or "—" }} {{ (txn.payment_type or "—")|replace("_"," ")|title }} {{ txn.ocurred_at or "—" }}
{% else %}
No transactions associated with this authorization.
{% endif %}
{% endif %}