API documentation

Get PSCS payment status

GET /api/payment/status

Include access_token in HTTP header:

Authorization: Bearer 09ba487fc3df...

Description

This web service is used to get status information about a certain order.

REQUEST PARAMETERS

Parameter name Parameter type Description
id int order_id from return_url

Response

Status Code: 200 if OK

{
       "is_card_verification": true,
       "status": "confirmed"
}
Parameter name Parameter type Description
is_card_verification int true if there was no card created and a card is about to be created
status string status of the order

Status Code: 400 if id param is missing

Status Code: 401 if request access token not ok

Status Code: 401 if user tied to given payment ID is not the one corresponding to the access token

Status Code: 404 if id not ok and payment not found