You are here: Resources > Webhooks > Credit Transfer Reject Event

Credit Transfer Reject Event

Trigger: A PAIN.002 Import with a Credit Transfer rejection.

Webhook Event Type Description
CreditTransferReject Triggered where a PAIN.002 import updates a Credit Transfer transaction to status = REJECTED
CreditTransferCancel

Triggered where a PAIN.002 import updates a Credit Transfer transaction to status = CANCELLED.

A Credit Transfer is updated to CANCELLED where the SEPA Reason Code is one of the following: CUST, CUTA, DUPL, UPAY

 

Webhook Event Message Details:

       
Parent Parameter Type Mandatory / Optional Description
root eventTimestamp number Mandatory The Unix epoch timestamp
root eventType string Mandatory Either CreditTransferReject or CreditTransferCancel
root resourceTechnicalId number Mandatory
root resourceReference string optional This can be the business reference of the resource, useful when filtering events via the Webhooks area of the Developer Dashboard.
root resourceReferenceType string optional This can be a business reference of the resource, useful when filtering events via the Webhooks area of the Developer Dashboard.
root resourceDetails object Mandatory Resource specific data grouping object
resourceDetails uri string Mandatory This is URI of the resource for RESTful API querying.
resourceDetails type string Mandatory This is the type of the resource to which the URI is related. In this case it is a Credit Transfer resource.
resourceDetails reasonCode string optional The SEPA Reason code
root organizationId number Mandatory The unique merchant identifier

The following is an example of an Credit Transfer Reject event JSON:


		
POST http://example.com/webhooks
Content-Type: application/json;charset=UTF-8
X-Signature: 521ab01d030dee864fb44cc65a3be52ae591f46cde8d14d3e72fbc3790e4a304
Content-Length: 261
X-Request-Id: dc645679-71a5-498d-bb29-ec027948c7c1
	{
		"eventTimestamp": 1500651159000,
		"eventType": "CreditTransferCancel",
		"resourceReference": "DemoE2EID",
		"resourceReferenceType": "EndToEndId",
		"resourceUri": "/accounts/qj29pkgnbx/transactions/yabcdwgrg23",
		"resourceType": "Transaction",
		"reasonCode": "CUST"
	}