Secure Payments API – Running a Validated Import


Running a validated import is one of the import functions of the Secure Payments (formerly PCI Wallet) API.

Running a Validated Import

Once an uploaded file has been validated correctly, it is eligible for import for the next 15 minutes. After 15 minutes, the file is removed for security reasons.


curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'secret: your-secret' --header 'authorization: your-token' ''


"report": "",
"result": [
"token": "CiCVDqG5QNK+ZhpBI3fNrwHkwiWdtqO5Nb1OQctzK3SzhRKnAQEBAwB4lQ6huUDSvmYaQSN3za8B5MIlnbajuTW9TkHLcyt0s4UAAAB+MHwGCSqGSIb3DQEHBqBvMG0CAQAwaAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBLjARBAw/YCNb2vC397UkqJgCARCAO/QD5cJklY1YxWqasXfXZ5iLshH0Jgy1tPonRCtQEmCuTSgj/E78Dj+zfAlcOKG78c/X1GKya/zcsTYt.eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXUyJ9.eyJ1cGRhdGVkIjoxNDU5NTQ2MjYzLCJjcmVhdGVkIjoxNDU5NTQ2MjYzLCJpZCI6MjUzLCJhZGRyZXNzX2lkIjo5OCwidXNlcl9pZCI6NSwiY3VzdG9tZXJfaWQiOm51bGx9.sB2NQWgf0_klFJX4BoyVPAPDYjd9IGO0mVXG-zrrysA",
"message": "",
"id": 1

The report contains the URL to download the import report. It’s very important to save the import report as it contains the newly created tokens. The report is a CSV file containing one row per imported account. The id refers to the order they appear in the input file.

The same is true for checking accounts, but the endpoint changes to

Finally, to obtain both import and validation reports for a specific file previously uploaded:

"import": "",
"verify": ""

How did we do?

Powered by HelpDocs (opens in a new tab)