Skip to main content

Get payment status

This endpoint provides the status of an order and is particularly useful when responding to notifications or other events. Use the order ID as a query parameter to retrieve the status. If the order ID is not available, you can alternatively use the session ID to obtain the payment status of the order.

curl -X GET \
-H 'authorization: Bearer v4.public.eyJpc3MiOiJs...' \
https://api.sandbox.ledyer.com/v1/paymentstatus \

Query parameters

Use one of the following:

sessionId

The session ID string that was obtained when the session was created.

orderId

The order ID string that was obtained when the order was created.