v1

latestOpenAPI 3.1.12026-08-0684304578.8 KB
Credit card terminal (Vault)

Tokenize card (card number->token)

post/creditguy/vault/tokenize/

Headers

{"stackTrail":"paths:/creditguy/vault/tokenize/:post:parameters:0:schema","oasType":"schema","type":"unknown"}

Sets the content response language. Defaults to Hebrew (he).

Request body

GetFormatPreservingboolean nullable

Should tokenize method also return format preserved token, or only Guid token Defaults to False

CardNumberstring required

Full card number to tokenize

ForceFormatPreservingTokenstring required

Forced format preserving token This can be useful when migrating from another credit card gateway to OfficeGuy. Please note the format preserving token should be a RANDOM identifier, which can't be reverse engineered into the card number (encoding/encrypting etc. isn't supported).

Response

OK

Status'Success (0)' | 'BusinessError (1)' | 'TechnicalError (2)'
UserErrorMessagestring nullable

Error message, in a user readable format

TechnicalErrorDetailsstring nullable

Technical error details, let us know if you received this.