first commit
This commit is contained in:
54
tests/functional/PayPalWebhookRequestData.json
Normal file
54
tests/functional/PayPalWebhookRequestData.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"id": "WH-2WR32451HC0233532-67976317FL4543714",
|
||||
"create_time": "2014-10-23T17:23:52Z",
|
||||
"resource_type": "sale",
|
||||
"event_type": "PAYMENT.SALE.COMPLETED",
|
||||
"summary": "A successful sale payment was made for $ 822.0160 CZK",
|
||||
"resource": {
|
||||
"amount": {
|
||||
"total": "822.0160",
|
||||
"currency": "CZK"
|
||||
},
|
||||
"id": "80021663DE681814L",
|
||||
"parent_payment": "PAY-8M960553FR6478113LGGEYQA",
|
||||
"update_time": "2014-10-23T17:23:04Z",
|
||||
"clearing_time": "2014-10-30T07:00:00Z",
|
||||
"state": "completed",
|
||||
"payment_mode": "ECHECK",
|
||||
"create_time": "2014-10-23T17:22:56Z",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/80021663DE681814L",
|
||||
"rel": "self",
|
||||
"method": "GET"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/sale/80021663DE681814L/refund",
|
||||
"rel": "refund",
|
||||
"method": "POST"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/payments/payment/PAY-1PA12106FU478450MKRETS4A",
|
||||
"rel": "parent_payment",
|
||||
"method": "GET"
|
||||
}
|
||||
],
|
||||
"protection_eligibility_type": "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE",
|
||||
"protection_eligibility": "ELIGIBLE"
|
||||
},
|
||||
"links": [
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-2WR32451HC0233532-67976317FL4543714",
|
||||
"rel": "self",
|
||||
"method": "GET",
|
||||
"encType": "application/json"
|
||||
},
|
||||
{
|
||||
"href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-2WR32451HC0233532-67976317FL4543714/resend",
|
||||
"rel": "resend",
|
||||
"method": "POST",
|
||||
"encType": "application/json"
|
||||
}
|
||||
],
|
||||
"event_version": "1.0"
|
||||
}
|
||||
Reference in New Issue
Block a user