This method is used to get a list of checkout resource. The response body of a successful call will contain the JSON-representation of a checkout-resource list.
| Request | Response | ||
|---|---|---|---|
|
Header
|
|
|
|
|
Body
|
Checkout-resource | ||
The test URI is https://test-api.payson.se/2.0/Checkouts?{status}
| Code | Status | Info |
|---|---|---|
| 200 | Ok | The call was successful. The requested resource will be returned in the response body. |
| 400 | Bad request | The call failed. Look at the returned JSON-object for more information. |
| 401 | Unauthorized | The authorization failed. Check the authorization field in the header. |
| GET https://api.payson.se/2.0/Checkouts?status=PaidToAccount HTTP/1.1 Host: api.payson.se Accept: application/json Authorization: Basic MTIzNDpkYzE1NzE4Mi1lMjVhLTQwMDgtYmQwOS05MDNkZjM0MjhkYjQ= |
| HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: 6171 |