Skip to content

Instantly share code, notes, and snippets.

@moaazbhnas228
Last active June 19, 2023 09:19
Show Gist options
  • Save moaazbhnas228/bed1d66223f67798133b09ee83d92c4d to your computer and use it in GitHub Desktop.
Save moaazbhnas228/bed1d66223f67798133b09ee83d92c4d to your computer and use it in GitHub Desktop.
curl --location 'https://shemsi-7tmwu9vnn-onecommerce.vercel.app/api/payments/fawry/webhook-success/' \
--header 'Content-Type: application/json' \
--data-raw '{
"requestId": "39fcf5e43f2d4944b115a9a1f7948618",
"fawryRefNumber": "765158467",
"merchantRefNumber": "951489691804.1",
"customerMobile": "01027050131",
"customerMail":"killua@mail.com",
"customerMerchantId": "6617993379996",
"paymentAmount": 840.0,
"orderAmount": 840.0,
"fawryFees": 0.0,
"orderStatus": "PAID",
"paymentMethod": "Mobile Wallet",
"paymentTime": 1687097294596,
"messageSignature": "4024f82f8d45af4a2b51e68dba9a2e87107685995e29040abac3ad8b5c8fa22a",
"orderExpiryDate": 1687094027337,
"orderItems": [
{
"itemCode": "57505830994076",
"price": 420.0,
"quantity": 2
}
]
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment