Migrate card

This method lets users store card details when they were previously stored locally. The paycard is sent in XML format.
We recommend that you first review the guide for this method.

📘

XML content only

Please note, the Store method accepts card details in XML format only. The above utility should not be used as it submits the content in JSON format.

<BankCardDetails xmlns="http://www.pcibooking.net/reservation" schemaVersion="1.0">
	<BankCard>
        <Type>Visa</Type>
        <Number>4918914107195005</Number>
        <NameOnCard>Juan Dela Cruz</NameOnCard>
        <ExpirationDate>
            <Month>07</Month>
            <Year>2020</Year>
        </ExpirationDate>
        <IssueNumber>2</IssueNumber>
        <CVV>123</CVV>
    </BankCard>
</BankCardDetails>

Once the Store Paycard method has bee completed successfully, a card token will be created and the token URI will be returned in the response header Location.
The card details submitted will also be returned in the response and the data will be masked.

📘

Access Token Vs. Session Token

Between the two options of using the Access Token or the Session Token, we would recommend using the Access Token.

📘

Multiple Authentication Methods allowed

This method accepts multiple forms of authentication methods (API Key, Session Token and Access Token). If more than one authentication method is provided, the Session Token will take precedence.

📘

CVV Retention Policy

Remember to set the CVV Retention Policy for this token.

Query Params
string

A reference value which then can be used to query for this card token.

string

The user ID of the property you wish to associate the token with.
The user ID for the property can be found under "Property settings" in our user's site.

string

The user ID of the PCI Booking customer (booker ID) you wish to associate the token with.
You will need to ask the PCI Booking customer to share with you their user ID to the PCI Booking system.

boolean
Defaults to false

Will be used to determine whether to save the CVV in the database. true - save the CVV. false - do not save the CVV.

string

Optional authentication method. Please use either the Session Token or the Access Token. The session token is the value returned by the call to the "Start a Temporary Session" method.

string

Optional authentication method. Please use either the Session Token or the Access Token. The Access Token is generated as a result of running the "Generate Access Token" code sample.

boolean
Defaults to false

An indication of whether to check if the listed expiration date is valid or not. True means to validate the expiration date and tokenization will fail if expiration date has passed. False means to accept the expiration date as is, even if it is in the past.

boolean
Defaults to true

An indication of whether to check if the listed number passes the Luhn algorithm.
True means to validate the number using the Luhn algorithm, and tokenization will fail if the number does not pass. False means to accept the number as is, even if it fails the Luhn check.

Headers
string

Optional authentication method, you can use APIKEY authentication (in the format of APIKEY {value}) if not providing other authentication methods.
For example, APIKEY bd3ce883352e42539a2b7644f72e6311.

string
required
Defaults to text/xml

PCI Booking accepts card details in the store method in text/xml format ony.

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json