Versions Compared

Key

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

The CreditCardCheck checks credit cards for plausibility in real-time.

Additionally, this request offers the possibility to store credit card data. In this case, the response submits what is known as a pseudo card number.

Request "creditcardcheck"

Common Parameter

Required

Format

Comment

aid

+

N..6

Sub account ID

cardpan

+

N..19

Card number

cardtype

o

Default

Parameter “cardtype” can be dropped and then the PAYONE Platform will return the cardtype automatically depending on the given cardpan. This cardtype has then be passed for future requests (like “preauthorization” / “authorization”).

Card type

cardexpiredate

+

N4

Expiry date YYMM

cardcvc2

o

N..4

Credit verification number (CVC)

cardissuenumber

-

N..2

Card issue number (only Maestro UK cards)

storecarddata

-

Default

no: Card data is not stored

yes: Card data is stored, a pseudo card number is returned

language

-

Default

Language indicator (ISO 639)

 

 

Response "creditcardcheck"

Common Parameter

Required

Format

Comment

status

+

Default

VALID / INVALID / ERROR

Parameter (VALID) - card number valid

pseudocardpan

o

N..19

Pseudo card number (is returned if storecarddata=yes)

truncatedcardpan

o

AN..19

Masked cardpan, i.e. 411111xxxxxx1111 (is returned if storecarddata=yes)

cardtype

o

Default

If “cardtype” is not given in the request it will be returned in the response automatically depending on the given cardpan.

This cardtype has then be passed for future requests (like “preauthorization” / “authorization”).

Card type

Parameter (INVALID) - card number invalid

errorcode

+

N..6

Error number

errormessage

+

AN..1024

Error message

customermessage

-

AN..1024

Error message for the end customer

Parameter (ERROR) - request faulty

errorcode

+

N..6

Error number

errormessage

+

AN..1024

Error message

customermessage

-

AN..1024

Error message for the end customer

 

Table of Contents