Authorise a Sandbox Merchant Id

For testing purposes only. Authorise or de-authorise your POS on behalf of the provided merchant for testing on the Sandbox environment only.

Request
Security:
header Parameters
Authorization
required
string
Default: Bearer {$$.env.access_token}
Content-Type
required
string
Value: "application/json"
Request Body schema: application/json
posReference
required
string

The posReference of the merchant, supplied during the integration process.

isAuthorised
required
boolean

To authorise or de-authorise the merchant Id.

Responses
204

No body Content

400

When the provided payload is not valid.

403

When you don't have the right permissions to authorise the merchant Id

404

When the provided merchantId does not exist in our system.

post/tap-to-pay/merchants/{merchantId}/authorise/test
Request samples
application/json
{
  • "posReference": "0f448ac1-862a-4c7b-bdb4-a3b7cdbf6149",
  • "isAuthorised": true
}
Response samples
application/json
{
  • "error": "\"posReference\" is required",
  • "errorCode": "VALIDATION_ERROR"
}
Copyright © Tyro Payments 2019-2024. All right reserved.