Skip to main content
Retrieve the full card details (PAN, CVV, expiry date) as an encrypted payload that only you can decrypt. The details are encrypted with the public half of an RSA key pair registered with Reap; you decrypt them with the private half on your backend.
Approval required. This capability is enabled per program by Reap. Your system handles raw card data after decryption, so your environment must be PCI DSS compliant, and Reap enables it only after reviewing your compliance status. Projects without it receive 403 PAN_REVEAL_NOT_ENABLED.You are responsible for the decrypted values: never store, log, cache, or transmit them beyond the immediate use.
Most integrations do not need this. If you only need to display card details to the cardholder, use the iframe reveal flow instead - it keeps raw card data out of your systems entirely and needs no approval.

Prerequisites

  • The capability is enabled for your project by Reap. Talk to your account manager to request it; Reap reviews your PCI DSS compliance status before enabling. Calls from projects without it receive 403 PAN_REVEAL_NOT_ENABLED.
  • You hold the RSA private key:
    • Production: Reap generates a dedicated RSA-2048 key pair for your program and hands you the key pair over a secure channel during onboarding.
    • Sandbox: a single, publicly documented key pair is shared by all sandbox programs (see Sandbox keys). It provides no confidentiality, sandbox cards are test cards.

Request

See Reveal PAN for the full endpoint reference.
No request body. The card must exist, must not be in a terminal or inactive status, and its account must be active.

Response

Decrypting encryptedData yields a JSON document:

Decryption

For encryption: "RSA_OAEP_SHA1": base64-decode encryptedData, then decrypt with your RSA private key using OAEP padding with SHA-1.
Always decrypt on your backend. Never ship the private key to a browser or mobile client, and never proxy the decrypted details through systems outside your PCI scope.

Errors


Sandbox keys

All sandbox programs share one RSA key pair. Use this private key to decrypt sandbox responses:

Security obligations

  • Decrypt only on PCI DSS compliant backend systems.
  • Never log, persist, or cache the decrypted PAN, CVV, or expiry date.
  • Never expose the private key or decrypted details to client-side code.
  • Every retrieval is audited by Reap.