Skip to content
Last updated

Webhooks Events

Pay Request Events

Be notified of events on a Pay Request via the webhook.

The types of Pay Request events are:

Pay Request EventDescription
NEW_PAY_REQUESTA new Pay Request has been created.
PAY_REQUEST_VOIDEDThe payment for this Pay Request has been voided.
PAY_REQUEST_FAILEDThe transaction for this Pay Request has failed.
PAY_REQUEST_PROCESSINGThe transaction for this Pay Request is now processing.
PAY_REQUEST_SUCCESSThe transaction for this Pay Request has succeeded.

Sample Pay Request Event

{
  "type": "NEW_PAY_REQUEST",
  "data": {
    "id": "2688fcf2-44dd-4c72-88ac-79d0910f2931",
    "uri": "https://api.tyro.com/connect/pay/requests/2688fcf2-44dd-4c72-88ac-79d0910f2931",
    "resource": "payrequest"
  }
}

Pay Method Events

Be notified of events on a Pay Method via the webhook.

The types of Pay Method events are:

Pay Method EventDescription
NEW_PAY_METHODA new Pay Method has been created.

Sample Pay Method Event

{
  "type": "NEW_PAY_METHOD",
  "data": {
    "id": "2688fcf2-44dd-4c72-88ac-79d0910f2932",
    "uri": "https://api.tyro.com/connect/pay/methods/2688fcf2-44dd-4c72-88ac-79d0910f2932",
    "resource": "paymethod"
  }
}

Pay Refund Events

Be notified of events on a Pay Refund via the webhook.

The types of Pay Refund events are:

Pay Refund EventDescription
NEW_PAY_REFUNDA new refund has been created.

Sample Pay Refund Event

{
  "type": "NEW_PAY_REFUND",
  "data": {
    "id": "2688fcf2-44dd-4c72-88ac-79d0910f2933",
    "uri": "https://api.tyro.com/connect/tables/2688fcf2-44dd-4c72-88ac-79d0910f2933",
    "resource": "payrefund"
  }
}
Registering Webhooks

For information on how to register for webhooks and how to interpret the webhook message. Documentation can be found here: Webhooks