Documentation Index
Fetch the complete documentation index at: https://docs.pushcash.com/llms.txt
Use this file to discover all available pages before exploring further.
Goal
Securely exchange raw cardholder and authentication data for a short-lived token that can be used to authorize a payment.Steps
Step 1: Tokenize the card
What you need to do
Submit the user’s PAN, CVV, and expiration date to the tokens API to receive a short-lived token.Before tokenizing, ensure you have registered the user by following the create a user guide.
How to do it
- POST the user’s
user_id,pan,cvv,exp_month, andexp_yearto the tokenize-card endpoint on the tokens domain (https://tokens.pushcash.comin production,https://sandbox-tokens.pushcash.comin sandbox). - Persist or forward the returned
tokento the system that will submit the authorization. Tokens are short-lived and intended for a single authorization.
The tokens API is hosted on a separate, PCI-isolated domain from the rest of the Push API. Authentication uses the same bearer token as the main API.
Step 2: Authorize the payment
What you need to do
Submit the token to the authorization endpoint to process the payment.How to do it
- Call the authorize-payment endpoint with the payment details, the
user_id, and thetokenreturned from Step 1. - Display the result (approved or declined) to the user.
Integration checklist
- Tokenize using the test card
5555 5555 5555 4444against the sandbox tokens domain - Verify the returned token authorizes successfully via authorize-payment
- Confirm requests originate from a PCI-compliant environment before enabling in production