Get order information
To authenticate your requests see our authentication
It includes the order status and a magic link to easily continue.
URL: /pos/order/[order_id]
Method: GET
Success Response:
Code: 200 OK
{
"amount": [float],
"expiration_ts": [time],
"url_redir_on_canceled": [URL],
"order_id": [id],
"url_redir_on_rejected": [URL],
"url_redir_on_success": [URL],
"customer_data": [dict],
"description": [string],
"pos_client_id": [string],
"confirmed": [bool],
"status": [string] # 'initial','created','approved','onhold','validated','funded','rejected', 'canceled'
"magic_link": "https://apurata.com/magic_link_to_continue_application"
}
To see the possible values of the status
variable, see the Order statuses.
Sample curl:
curl 'https://apurata.com/pos/order/48' \
-H 'Authorization: Bearer 69a06d50c17e4267a18e84f8530d6asd'
Error Responses:
Code: 401 UNAUTHORIZED
{ error: "Wrong or missing client token" }
Code: 404 NOT FOUND
{ error: "Order does not exist" }