forked from LiveCarta/PayPal-PHP-Server-SDK
* Automated commit message * Automated commit message * Automated commit message * Automated commit message --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2.7 KiB
2.7 KiB
Card Verification Details
Card Verification details including the authorization details and 3D SECURE details.
Structure
CardVerificationDetails
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
networkTransactionId |
?string |
Optional | Transaction Identifier as given by the network to indicate a previously executed CIT authorization. Only present when authorization is successful for a verification. Constraints: Minimum Length: 1, Maximum Length: 1024, Pattern: ^[a-zA-Z0-9-_@.:&+=*^'~#!$%()]+$ |
getNetworkTransactionId(): ?string | setNetworkTransactionId(?string networkTransactionId): void |
date |
?string |
Optional | The date that the transaction was authorized by the scheme. This field may not be returned for all networks. MasterCard refers to this field as "BankNet reference date". Constraints: Minimum Length: 4, Maximum Length: 4, Pattern: ^[0-9]+$ |
getDate(): ?string | setDate(?string date): void |
network |
?string(CardBrand) |
Optional | The card network or brand. Applies to credit, debit, gift, and payment cards. Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[A-Z_]+$ |
getNetwork(): ?string | setNetwork(?string network): void |
time |
?string |
Optional | The date and time, in Internet date and time format. Seconds are required while fractional seconds are optional.Note: The regular expression provides guidance but does not reject all invalid dates. Constraints: Minimum Length: 20, Maximum Length: 64, Pattern: ^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$ |
getTime(): ?string | setTime(?string time): void |
amount |
?Money |
Optional | The currency and amount for a financial transaction, such as a balance or payment due. | getAmount(): ?Money | setAmount(?Money amount): void |
processorResponse |
?CardVerificationProcessorResponse |
Optional | The processor response information for payment requests, such as direct credit card transactions. | getProcessorResponse(): ?CardVerificationProcessorResponse | setProcessorResponse(?CardVerificationProcessorResponse processorResponse): void |
Example (as JSON)
{
"network_transaction_id": "network_transaction_id4",
"date": "date8",
"network": "EFTPOS",
"time": "time2",
"amount": {
"currency_code": "currency_code6",
"value": "value0"
}
}