post
https://sandbox.external.routefusion.com/graphql (26 disregard)
The createWebhookSubscription mutation accepts the required data to configure the webhook
Values forsubscription_type are entity, beneficiary, transfer, incoming_transfer, or wallet
| Parameter | Type | Required |
|---|---|---|
| subscription_type | SubscriptionType! | true |
| url | String! | true |
| header_key | String | false |
| header_value | String | false |
GraphQL Mutation: createWebhook
mutation createWebhook(
$subscription_type: SubscriptionType!,
$url: String!,
$header_key: String,
$header_value: String
) {
createWebhook(
subscription_type: $subscription_type,
url: $url,
header_key: $header_key,
header_value: $header_value
) {
id
subscription_type
url
header_key
header_value
}
}enum SubscriptionType {
entity
transfer
incoming_transfer
wallet
}