latestOpenAPI 3.0.02026-08-0832102256.6 KB

6097bc689e41

Receipts

Show Receipts

Called by the Independent Software Vendor. Request a receipt by template_identifier from the gateway for a given transaction_ref_number. Returns base64 encoded receipt if found.

get/receipts

Query parameters

transaction_ref_numberstring required
Example:transaction1

The unique identifier of the transaction.

template_identifierstring required
Example:template1

The unique identifier of the transaction template.

merchant_idstring required
Example:merchant1

The merchant identifier that will be used to connect to the gateway.

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

Response

Success

receiptstring

The returned receipt

vstring

The API version that was used to handle the request.

Example response

{
  "receipt": "string",
  "v": "string"
}