v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
🛒 Ecommerce

Verify paypal payment

The API handles the verification of a PayPal payment by integrating with PayPal's order capture API.

Once a user completes a payment on PayPal, this API receives the PayPal-generated order ID which will be passed by the client on payment success.

It then makes an API call to PayPal's order capture API to retrieve the payment status.

The backend utilizes this payment status information to verify the payment and mark the corresponding order as paid in the system.

post/ecommerce/orders/provider/paypal/verify-payment

Request body

orderIdstring

Example request

{
  "orderId": "8AS341282K124974P"
}