107 lines
3.1 KiB
JSON
107 lines
3.1 KiB
JSON
{
|
|
"id": "WH-zvcxvzcxvcxvszfvfdgveravzx51",
|
|
"create_time": "2025-06-21T03:10:21.531Z",
|
|
"resource_type": "capture",
|
|
"event_type": "PAYMENT.CAPTURE.COMPLETED",
|
|
"summary": "Payment completed for $ 1.0 USD",
|
|
"resource": {
|
|
"payee": {
|
|
"email_address": "info@domain.org",
|
|
"merchant_id": "GLFGHFKB55"
|
|
},
|
|
"amount": {
|
|
"currency_code": "USD",
|
|
"value": "1.00"
|
|
},
|
|
"seller_protection": {
|
|
"status": "ELIGIBLE",
|
|
"dispute_categories": [
|
|
"ITEM_NOT_RECEIVED",
|
|
"UNAUTHORIZED_TRANSACTION"
|
|
]
|
|
},
|
|
"supplementary_data": {
|
|
"related_ids": {
|
|
"order_id": "2NX252525258974"
|
|
}
|
|
},
|
|
"update_time": "2025-06-21T03:10:17Z",
|
|
"create_time": "2025-06-21T03:10:17Z",
|
|
"final_capture": true,
|
|
"seller_receivable_breakdown": {
|
|
"gross_amount": {
|
|
"currency_code": "USD",
|
|
"value": "1.00"
|
|
},
|
|
"paypal_fee": {
|
|
"currency_code": "USD",
|
|
"value": "0.51"
|
|
},
|
|
"net_amount": {
|
|
"currency_code": "USD",
|
|
"value": "0.49"
|
|
}
|
|
},
|
|
"custom_id": "2500016",
|
|
"links": [
|
|
{
|
|
"href": "https://api.paypal.com/v2/payments/captures/21L2221122212",
|
|
"rel": "self",
|
|
"method": "GET"
|
|
},
|
|
{
|
|
"href": "https://api.paypal.com/v2/payments/captures/21L2221122212/refund",
|
|
"rel": "refund",
|
|
"method": "POST"
|
|
},
|
|
{
|
|
"href": "https://api.paypal.com/v2/checkout/orders/2NX21L2221122212",
|
|
"rel": "up",
|
|
"method": "GET"
|
|
}
|
|
],
|
|
"id": "2121L2221122212",
|
|
"status": "COMPLETED"
|
|
},
|
|
"status": "SUCCESS",
|
|
"transmissions": [
|
|
{
|
|
"webhook_url": "https://www.alrahmaisgl.org/api/paypal-webhook",
|
|
"http_status": 200,
|
|
"reason_phrase": "OK",
|
|
"response_headers": {
|
|
"date": "Sat, 21 Jun 2025 03:10:29 GMT",
|
|
"Keep-Alive": "timeout=5, max=100",
|
|
"server": "LiteSpeed",
|
|
"content-length": "20",
|
|
"content-security-policy": "upgrade-insecure-requests",
|
|
"x-powered-by": "PHP/8.3.19",
|
|
"Connection": "Keep-Alive",
|
|
"content-type": "application/json; charset=UTF-8",
|
|
"alt-svc": "h3=\":443\"; ma=2592000, h3-29=\":443\"; ma=2592000, h3-Q050=\":443\"; ma=2592000, h3-Q046=\":443\"; ma=2592000, h3-Q043=\":443\"; ma=2592000, quic=\":443\"; ma=2592000; v=\"43,46\"",
|
|
"panel": "hpanel",
|
|
"cache-control": "no-store, max-age=0, no-cache",
|
|
"platform": "hostinger"
|
|
},
|
|
"transmission_id": "46c3f19a-4e4d-11f0-be1e-f16be86b8cf6",
|
|
"status": "SUCCESS",
|
|
"timestamp": "2025-06-21T03:10:25Z"
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-zvcxvzcxvcxvszfvfdgveravzx51",
|
|
"rel": "self",
|
|
"method": "GET",
|
|
"encType": "application/json"
|
|
},
|
|
{
|
|
"href": "https://api.paypal.com/v1/notifications/webhooks-events/WH-zvcxvzcxvcxvszfvfdgveravzx51/resend",
|
|
"rel": "resend",
|
|
"method": "POST",
|
|
"encType": "application/json"
|
|
}
|
|
],
|
|
"event_version": "1.0",
|
|
"resource_version": "2.0"
|
|
} |