Returns session status by its id
cURL
curl --request GET \ --url https://api.toffeepay.com/v1/sessions/{id}/status \ --header 'Authorization: Bearer <token>'
{ "status": "pending", "id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
pending
paid
failed
cancelled
expired