BillingAddress
Contains the user's billing-related details (cardholder information) for Address Verification System (AVS) processing and for populating records at the payment gateway. This object is optional; passing null or omitting it maintains backward compatibility. This object is request-only and is not returned in API responses.
Validation & Error Handling
If any field inside billingAddress fails its length or format validation rules (for example, an invalid email format in billingEmailId or a string that exceeds the specified character limit), the API rejects the request before contacting the gateway.
- HTTP Status:
422 Unprocessable Entity - Behavior: The transaction is aborted before the payment processor is contacted.
Gateway Processing & Data Security
Gateway Forwarding
- Aurus Gateway: Full support. Forwards
billingAddressdata to Aurus for AVS checks. - Other Payment Gateways: Gracefully ignore
billingAddresswithout returning an error.
Data Privacy & Log Masking
- Masked PII:
billingFirstName,billingLastName,billingEmailId, andbillingMobileNumberare redacted or masked in stored application and audit logs. - Unmasked Address Information:
billingAddressLine1,billingAddressLine2,billingCity,billingState,billingCountry, andbillingZipremain visible in logs to facilitate AVS decline analysis.
- billingType: string | null
Address Line1 max length:100Primary street address.
- billingType: string | null
Address Line2 max length:100Apartment, suite, unit, or building line.
- billingType: string | null
City max length:50City name.
- billingType: string | null
Country max length:50Country name or ISO code.
- billingType: string | null
Email Id max length:100Format: emailEmail address of the user or cardholder. Masked in audit logs.
- billingType: string | null
First Name max length:50First name of the user or cardholder. Masked in audit logs.
- billingType: string | null
Last Name max length:50Last name of the user or cardholder. Masked in audit logs.
- billingType: string | null
Mobile Number max length:20Mobile number of the user or cardholder. Masked in audit logs.
- billingType: string | null
State max length:50State, Province, Region name, or code.
- billingType: string | null
Zip min length:3max length:10Postal or ZIP code.
