@@ -77,7 +77,7 @@ You can configure the webhook endpoint at:
77
77
78
78
📘 ** Note:** If you configure your webhook endpoint at site ** and** order level, the order level endpoint is used by default.
79
79
80
- ### Example
80
+ ### Example request
81
81
82
82
``` javascript
83
83
curl - X POST \
@@ -93,7 +93,86 @@ curl -X POST \
93
93
"notification_method": "POST"
94
94
}
95
95
}'
96
+
96
97
```
98
+ <details id =" example-get-response " >
99
+ <summary ><b >Example response</b ></summary >
100
+
101
+ ``` json
102
+ {
103
+ "success" : true ,
104
+ "data" : {"amount" :1000 ,
105
+ "amount_refunded" :0 ,
106
+ "costs" :[
107
+ {"amount" :0.44 ,
108
+ "description" :" 0.44 For iDEAL Transactions" ,
109
+ "transaction_id" :" 8009375" ,
110
+ "type" :" SYSTEM" }
111
+ ],
112
+ "created" :" 2022-09-07T11:19:59" ,
113
+ "currency" :" EUR" ,
114
+ "custom_info" :
115
+ {
116
+ "custom_1" :null ,
117
+ "custom_2" :null ,
118
+ "custom_3" :null
119
+ },
120
+ "customer" : {
121
+ "address1" :" Neherkade" ,
122
+ "address2" :null ,
123
+ "city" :" Gravenhage" ,
124
+ "country" :" NL" ,
125
+ "country_name" :" Netherlands" ,
126
+
127
+ "first_name" :" Testperson-nl" ,
128
+ "house_number" :" XI" ,
129
+ "last_name" :" Approved" ,
130
+ "locale" :" nl_NL" ,
131
+ "phone1" :" 0612345678" ,
132
+ "phone2" :null ,
133
+ "state" :null ,
134
+ "zip_code" :" 2521VA"
135
+ },
136
+ "description" :" Product description" ,
137
+ "fastcheckout" :" NO" ,
138
+ "financial_status" :" initialized" ,
139
+ "items" :null ,
140
+ "modified" :" 2022-09-07T11:19:59" ,
141
+ "order_id" :" my-order-id-1" ,
142
+ "payment_details" :{
143
+ "account_holder_name" :null ,
144
+ "account_iban" :" https://testpayv2.multisafepay.com/simulator/ideal?trxid=3924195754138182&ideal=prob&issuerid=0031&merchantReturnURL=https%3A%2F%2Ftestpayv2%2Emultisafepay%2Ecom%2Fconnect%2Fredirect%3Flang%3Dnl%5FNL%26mspid%3D8996625" ,
145
+ "account_id" :null ,
146
+ "card_authentication_result" :null ,
147
+ "external_transaction_id" :" 3924195754138182" ,
148
+ "issuer_id" :" 0031" ,
149
+ "recurring_flow" :null ,
150
+ "recurring_id" :null ,
151
+ "recurring_model" :null ,
152
+ "type" :" IDEAL"
153
+ },
154
+ "payment_methods" :[
155
+ {"amount" :1000 ,
156
+ "currency" :" EUR" ,
157
+ "description" :" Product description" ,
158
+ "external_transaction_id" :" 3924195754138182" ,
159
+ "payment_description" :" iDEAL" ,
160
+ "status" :" initialized" ,
161
+ "type" :" IDEAL" }
162
+ ],
163
+ "reason" :null ,
164
+ "reason_code" :null ,
165
+ "related_transactions" :null ,
166
+ "status" :" initialized" ,
167
+ "transaction_id" :8996625 ,
168
+ "var1" :null ,
169
+ "var2" :null ,
170
+ "var3" :null
171
+ }
172
+ }
173
+ ```
174
+ </details >
175
+ <br >
97
176
98
177
✅ ** Success!** You have configured your webhook endpoint Now you need to configure your web server to handle notifications correctly.
99
178
0 commit comments