Partners with PCI DSS compliance can retrieve sensitive card data (PAN, CVV, expiry) via a direct API call. The response is RSA-encrypted with your public key - Contro never exposes card data in plaintext.
If your organization is not PCI DSS compliant, use the embedded widget method instead - no certification needed.
In sandbox mode (sk_test_ keys), the endpoint returns encrypted test data:
Field
Value
cardNumber
4000000000000000
cvv
123
expiryDate
12/2030
If you haven’t uploaded an RSA key, sandbox mode uses a built-in sandbox key pair automatically. You can use the corresponding sandbox private key to verify your decryption logic.
In live mode, you must have an RSA public key configured. The endpoint returns a 400 error if no key is set.