1
0
Files
PayPal-PHP-Server-SDK/doc/models/card-verification-details.md
Patrick Powers 6da8b9b5b8 1.1.0 Release (#44)
* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
Co-authored-by: Patrick Powers <patickpowers@hey.com>
2025-05-27 13:31:17 -05:00

3.0 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 DEPRECATED. This field is DEPRECATED. Please find the network transaction id data in the 'id' field under the 'network_transaction_reference' object instead of the 'verification' object.

Constraints: Minimum Length: 1, Maximum Length: 1024, Pattern: ^[a-zA-Z0-9-_@.:&+=*^'~#!$%()]+$
getNetworkTransactionId(): ?string setNetworkTransactionId(?string networkTransactionId): void
date ?string Optional DEPRECATED. This field is DEPRECATED. Please find the date data in the 'date' field under the 'network_transaction_reference' object instead of the 'verification' object.

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
threeDSecure mixed Optional DEPRECATED. This field is DEPRECATED. Please find the 3D secure authentication data in the 'three_d_secure' object under the 'authentication_result' object instead of the 'verification' object. getThreeDSecure(): setThreeDSecure( threeDSecure): void

Example (as JSON)

{
  "network_transaction_id": "network_transaction_id4",
  "date": "date8",
  "network": "EFTPOS",
  "time": "time2",
  "amount": {
    "currency_code": "currency_code6",
    "value": "value0"
  }
}