Create a webhook
Changed onRequest
- The document declares no server URL.
- Authnone declared. Required headers: ApiKey, MerchantId, Environment
Headers
Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
Request body
Example request
{
"url": "https://my.webhook.target",
"events": [
"payment.created",
"payment_intent.created"
],
"description": "This is a webhook trigger upon payment & payment_intent creation",
"metadata": {}
}Response
Example response
{
"id": "wh_z1urYtVFgEebtcj8fxp4v",
"createdAt": "2020-10-15T12:09:49.355Z",
"updatedAt": "2020-10-15T12:09:49.355Z",
"mode": "live",
"description": "This is a webhook trigger upon payment & payment_intent creation",
"events": [
"payment.created",
"payment_intent.created"
],
"metadata": {},
"secret": "5257a869e7ecebeda32affa62cd...",
"status": "enabled",
"url": "https://my.webhook.target"
}Changes
- info
added the new
bill_payment.collectedenum value to the request property/ - info
added the new
bill_payment.settlement_failedenum value to the request property/ - info
added the new
bill_payment.succeededenum value to the request property/ - info
added the new
cross_border_transaction.cancelledenum value to the request property/ - info
added the new
cross_border_transaction.compliance_reviewenum value to the request property/ - info
added the new
cross_border_transaction.createdenum value to the request property/ - info
added the new
cross_border_transaction.failedenum value to the request property/ - info
added the new
cross_border_transaction.pendingenum value to the request property/ - info
added the new
cross_border_transaction.pending_manualenum value to the request property/ - info
added the new
cross_border_transaction.successfulenum value to the request property/ - info
added the new
sender.approvedenum value to the request property/ - info
added the new
sender.createdenum value to the request property/ - info
added the new
sender.disabledenum value to the request property/ - info
added the new
sender.rejectedenum value to the request property/ - info
added the new
sender.review_requiredenum value to the request property/ - info
added the new
settlement_request.confirmedenum value to the request property/ - info
added the new
settlement_request.funds_sentenum value to the request property/ - info
added the new
settlement_request.processingenum value to the request property/ - info
added the new
settlement_request.rejectedenum value to the request property/ - info
added the new
settlement_request.submittedenum value to the request property/ - info
added the new
subscription.cancelledenum value to the request property/ - info
added the new
subscription.createdenum value to the request property/ - info
added the new
subscription.suspendedenum value to the request property/
- info