Tokenise a captured card
POST/api/psp/aiphoria/tokenise
Registers the captured card with the PSP and returns a reusable card token without taking a payment. Validates that the card capture session is complete and that the PSP provider is supported, maps the generic request to the provider-specific format with the captured card tokens, forwards it to the provider, and returns the normalised response. Mock and simulation modes are not supported and return 500.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Returns the normalised PSP response including the generated reusable card token.
The request is invalid — the PSP provider is unsupported, or a PSP request has already been started for this capture.
Authentication failed — token is missing, expired, or invalid.
Caller does not have the required role.
The card capture session was not found, or has not completed.
An unexpected server error occurred.