Now that you have set up the necessary structure and security measures to ensure that any event you process is from Yoco, you can proceed to handle the successful payment event.
You can verify the payment status by checking the
type field of the webhook event.
A payment is considered successful if its
type is set to
|The unique identifier for the event.|
|The type of event, one of |
|The payload consists of additional information related to the event, for example, the Payment or Refund object. |
- Successful Payment