---
title: "Verify paypal payment"
method: POST
path: "/ecommerce/orders/provider/paypal/verify-payment"
tags: ["🛒 Ecommerce"]
---

# Verify paypal payment

`POST /ecommerce/orders/provider/paypal/verify-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.

## Request body

- object
  - `orderId` string

## Response `200`

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
