Skip to main content

Webhook attributes

The JSON attributes for Yuno webhooks are listed below:
string
The unique identifier of the account in Yuno (MAX 64; MIN 36).
string
Specifies the notification type.
string
Specifies the event notification type.
string
Specifies the version of the webhook sent. Currently 2.
string
Specifies the number of retries for that notification.
string
Specifies the payment (for payment type) or payment method object (for enrollment and other objects).
string
Optional. The HMAC-SHA256 signature sent in the HTTP header for webhook verification when HMAC authentication is enabled.

Examples

Yuno provides several webhooks related to enrollment and payment notifications. Here you will find some examples of data structures related to each event.

Payment Webhook V2

Payment Webhook V1

Chargeback Webhook V2

Chargeback Webhook V1

Enrollment

Payouts

Subscriptions

Onboardings

Refunds

Marketplace Split Transfers

HMAC - Authorization

Payment

Payment Webhook V2

The next JSON object presents an example of a data structure related to a payment event from Webhook V2.
Webhook payloads for events corresponding to a bank transfer payment method include payment.payment_method.payment_method_detail.bank_transfer.bank_id. The field mirrors the bank_id sent in the original payment request and is omitted when no bank was selected.

Payment Webhook V1

The next JSON object presents an example of a data structure related to a payment event from Webhook V1.
JSON

Chargeback Webhook V2

The next JSON object presents an example of a data structure related to a payment event from Webhook V2.

Chargeback Webhook V1

The next JSON object presents an example of a data structure related to a payment event from Webhook V1.
JSON

Enrollment

Payouts

JSON

Subscriptions

JSON

subscription.active

Sent when a subscription transitions from any other valid status into ACTIVE. Use this event to trigger post-activation processes without polling.
JSON

subscription.paused

Sent when a subscription is paused. Use this event to update the status in your system and pause related services.
JSON

subscription.canceled

Sent when a subscription is canceled. Once canceled, the subscription is terminated and cannot be reactivated.
JSON

subscription.completed

Sent when a subscription reaches its end date or total billing cycles and transitions to the COMPLETED status.
JSON

subscription.error

Sent when an error occurs during subscription processing.
JSON

Onboardings

Example

Marketplace Split Transfers

split_transfer.succeeded

split_transfer_reverse.succeeded

Refunds

Example

HMAC - Authorization