KreedX — Banking API and Payments Platformby DigiPulse Solutions
Developer Docs
POSTCards

Validate card

Confirms the card can be paid towards, using the last four digits and the registered mobile — never the full card number.

Sample reference
This shows the shape of the call — the operation, its fields and what comes back. The exact paths, base URL and any extra fields are confirmed with your sandbox credentials.

POST{BASE_URL}/v1/cards/validate

🚧 Never send the full card number

Only the last four digits and the registered mobile are needed. Keeping full card numbers off your servers means there is far less card data for you to protect.

📘 Show the cardholder name back

Display cardholderName so the customer can confirm it is their card before paying.

Headers

Authorizationstringrequired

Bearer <your API key>. Sandbox and production keys are separate.

Content-Typestringrequired

application/json on every request that has a body.

Request body

issuerstringrequired

Issuer code, e.g. HDFC, ICICI, SBI.

cardLast4stringrequired

Last four digits only.

registeredMobilestringrequired

Mobile number registered with the issuer.

Response fields

validbooleanrequired

False if the issuer does not match the card and mobile.

networkstringoptional

VISA, MASTERCARD or RUPAY.

Errors

Every API returns the same envelope on failure, so one handler covers the whole catalogue.

400VALIDATION_ERROR

A field is missing or malformed. The message names the field.

401UNAUTHORIZED

The API key is missing, wrong, or for the other environment.

404NOT_FOUND

No resource with that ID or reference exists.

409DUPLICATE_REFERENCE

This clientReference was already used. Safe to treat as a repeat of the first call.

429RATE_LIMITED

Too many requests. Back off and retry after the Retry-After header.

503UPSTREAM_UNAVAILABLE

The biller, bank or network is down. Retry later; nothing was charged.