{
"webhook_type": "credit_note.refund_failure",
"object_type": "credit_note_payment_provider_refund_error",
"organization_id": "00000000-0000-4000-8000-000000000001",
"credit_note_payment_provider_refund_error": {
"credit_note_id": "00000000-0000-4000-8000-000000000002",
"customer_id": "00000000-0000-4000-8000-000000000003",
"external_customer_id": "sdkv3x-1791863030",
"provider_customer_id": "cust_example",
"payment_provider": "stripe",
"payment_provider_code": "stripe_sdkv3_test",
"provider_error": "Refund could not be processed"
}
}Credit Notes
The refund of a credit note has failed on a payment provider
Refunding a credit note at the payment provider fails. Endpoints that subscribed with the former name credit_note.provider_refund_failure receive it under this name.
WEBHOOK
credit_note_provider_refund_failure
{
"webhook_type": "credit_note.refund_failure",
"object_type": "credit_note_payment_provider_refund_error",
"organization_id": "00000000-0000-4000-8000-000000000001",
"credit_note_payment_provider_refund_error": {
"credit_note_id": "00000000-0000-4000-8000-000000000002",
"customer_id": "00000000-0000-4000-8000-000000000003",
"external_customer_id": "sdkv3x-1791863030",
"provider_customer_id": "cust_example",
"payment_provider": "stripe",
"payment_provider_code": "stripe_sdkv3_test",
"provider_error": "Refund could not be processed"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Signature of the webhook payload
Example:
"Ap¶5ɿΣ6ÐfV£Ä\u0015\u0015ºõÔõÔ[DæAâÿüÚ"
Algorithm used to generate the signature
Available options:
jwt, hmac Example:
"hmac"
Unique id of the webhook. It can be used for idempotency
Example:
"1a901a90-1a90-1a90-1a90-1a901a901a90"
Body
application/json
Details of the credit note and of the provider error
Response
200
Return a 2xx status within 30 seconds to acknowledge the delivery. Any other status, a timeout or a connection error is a failed attempt; Nozle makes up to 3 attempts.