latestOpenAPI 3.0.02026-08-0832102256.6 KB

6097bc689e41

Scan Code

Create Scan Code

Called by the Independent Software Vendor. Returns a base64 encoded QR code.

post/scan_codes

Headers

Authorizationstring api_id:api_token required

Needs to include Basic word before Base64 encoded api_id:api_token. The api_id is the identifier of the organization created on TAP; size range - up to 36 characters. The api_token is the unique token previously generated by TAP and provided securely to the organization; size range - 32. Example: Basic ODA5BVgrNdZkZmbiFlJlTThkYTA2eG00MzA5dHh1bWZnZgfdZDE=

Acceptstring required
Example:application/vnd.paymentfusion.v3.0.0+json

Specifies the requested API version. If this field is not specified or has an invalid format, the API will return an error. If the specified version does not exist, a 404 page will be displayed. Accepted values - application/vnd.paymentfusion.v3.0.0+json

Content-Typestring required
Example:application/x-www-form-urlencoded

The Content-Type entity header is used to indicate the media type of the resource.

Response

Success

idstring

identifier for the scan code in our system

scan_codestring

base64 encode png image of scan code

vstring

The API version that was used to handle the request.

Example response

{
  "id": "string",
  "v": "string"
}