Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
    "netvalveMidId":{{netvalveMidId}},
    "amount":43.10,
    "currency": "USD",
    "cardExpireMonth": "08",
    "cardExpireYear": "2025",
    "cardHolderName": "Test",
    "cardNumber": "4100000000000100",
    "customerEmail": "test@test.com",
    "customerIp": "123.123.123.123",
    "customerName": "Test",
    "customerLastName": "Test", 
    "customerAddress": "Test Address",
    "customerCity": "Dubai",
    "customerCountryCode": "VA",
    "customerPhone": "+919900000000,
    "customerState": "VA",
    "customerZipCode": "85284",
    "transID":"732b4368-d69a-4d74-885e-35b5d402824e"
}

Note :- As a new 3DS Visa mandate, the customer needs to send an email and phone in the below format to avoid 3DS compliance issues.

Code Block
    "customerEmail": "yogesh@dahe.com",
    "customerPhone": "+919900000000",

Request table

Parameter

Type

Required

Description

netvalveMidId

String

Yes

Netvalve Mid Id configured with merchant profile.

e.g. aa09538b-2148-4e0b-8418-28391caa6af2

amount

BigDecimal

Yes

Transaction Amount

e.g. 100.50

currency

String

Yes

Currency with matching ISO-4217 currency standard e.g. "USD"

cardExpireMonth

String

Yes

regexp = "^(0[1-9]|1[0-2])$"

e.g. "08"

cardExpireYear

String

Yes

@Size(max = 4, min = 4)

e.g. "2025"

cardHolderName

String

Yes

@Size(max = 128)

cardNumber

String

Yes

Valid card number

customerEmail

String

Optional

Customer email

customerIp

String

Optional

Customer IP Address

customerName

String

Yes

Customer First Name

customerLastName

String

Yes

Customer Last Name

customerAddress

String

Optional

Customer Address

customerCity

String

Optional

Customer City

customerCountryCode

String

Yes

Customer Country Code

Format:- US , 2 digits code

customerPhone

String

Optional

Customer Phone

customerState

String

Optional

Customer State

customerZipCode

String

Optional

Customer Zip/Postal Code

transID

String

Yes

transID Id :- Unique 3DS Transaction id from init call . refer ThreeDSProviderResponse table

...