Get the result of a payment session
Returns the status of the payment session with the sessionId and sessionResult specified in the path.
In: header
Path Parameters
A unique identifier of the session.
Query Parameters
The sessionResult value from the Drop-in or Component.
Response Body
application/json
curl -X GET "https://example.com/sessions/string?sessionResult=string"The status of the session with the specified ID.
{ "id": "CS12345678", "status": "completed"}Create a payment session POST
Creates a payment session for [Drop-in](https://docs.adyen.com/online-payments/build-your-integration/sessions-flow/?platform=Web&integration=Drop-in), [Components](https://docs.adyen.com/online-payments/build-your-integration/sessions-flow/?platform=Web&integration=Components), and [Hosted Checkout](https://docs.adyen.com/online-payments/build-your-integration/sessions-flow/?platform=Web&integration=Hosted+Checkout) integrations. The response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow. You get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook.
Get a list of donation campaigns. POST
Queries the available donation campaigns for a donation based on the donation context (like merchant account, currency, and locale). The response contains active donation campaigns.
