Passer au contenu principal
GET
/
v1
/
account
/
{accountId}
/
webhooks
/
{id}
show
curl --request GET \
  --url https://pay.sandbox.yabetoopay.com/v1/account/{accountId}/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "http://localhost:3381/test",
  "events": [
    "disbursement.completed",
    "payment.received"
  ],
  "description": ""
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required
events
string[]
required
description
string
required

Response

200 - application/json

The response is of type object.

I