PurchaseRequest
- referenceType: string
Number min length:1max length:40requiredA unique reference number for the transaction.
- Properties: 5transactionType:
Amount Details required - transactionType: stringFormat: date-time
Date Time U T C requiredThe transaction date and time in UTC format.
- billingType:
Address Properties: 10Contains 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
billingAddressfails its length or format validation rules (for example, an invalid email format inbillingEmailIdor 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.
- HTTP Status:
- channelType: enumvaluesNonePOSKiosk
- invoiceType: string | null
Number max length:14The invoice number associated with the transaction.
- isType: boolean
Preferred Indicates whether this saved card should be set as the user's preferred payment method.
- oneType: string | null
Time Token A temporary, single-use token generated to securely represent the credit card used for the purchase. This token is exchanged for a reusable
paymentMethodTokenthat can be used for future transactions. Required ifpaymentMethodTokenis not provided. - paymentType: string | null
Method Token A reusable token generated from a one time token (
oneTimeToken), representing a saved credit card for recurring payments. - paymentType: enum
Source valuesScanToPayOnlineNone - saveType: boolean
Card Gets or sets a value indicating whether the user's card information should be saved for future use.
- transactionType: string | nullFormat: date-time
Date Time Local The transaction date and time in local format.
- userType: string | null
Id The unique identifier of the user in your system for whom the card is being saved. Required when
saveCardis true. - walletType:
Pay Properties: 2Identifies the wallet provider. Example values GooglePay, ApplePay
