Get an order

Get information about a previously created order.

Request

Endpoint

Sandbox: http://api.sandbox.soisy.it/api/shops/{shopId}/orders/{token}
Production: https://api.soisy.it/api/shops/{shopId}/orders/{token}

Accepted Methods

GET

Authentication

This API requires authorization with shopId and X-Auth-Token header .

Response

This API returns a JSON object.

HTTP Response codes

Code Description
200 Returned when successful
404 The resource has not been found
500 System error

Valid response

{
     "shopOrderId": <string>,
     "token": <string>,
     "shopId": <string>,

     "firstname": <string>,
     "lastname": <string>,
     "fiscalCode": <string>,
     "vatId": <string>,
     "vatCountry": <string>,
     "email": <string>,
     "mobilePhone": <string>,
     "address": [
         "city": <string>,
         "province": <string>,
         "address": <string>,
         "civicNumber": <string>,
         "postalCode": <string>
     ],

     "loanFinality": <string>,
     "instalmentsNumber": <intero>,
     "loanAmount": <integer>,
     "loanNetAmount": <integer>,
     "status": <string>,
     "zeroInterestRate": <string>,

     "errorUrl": <string>,
     "successUrl": <string>,
     "callbackUrl": <string>,
     "orderReference": <string>,

     "createdAt": <string>,
     "updatedAt": <string>,
     "loanDisbursedAt": <string>,
     "loanVerifiedAt": <string>,
     "loanSignedAt": <string>
}