Skip to content

Retrieve an order

Request

Reads an order.

The path segment is not the plain token: sign the token string with your secret key and put the resulting JWT in the path. An unsigned token fails with jwt malformed.

Security
ClientKey
Path
tokenstringrequired

The order's token, signed as a JWT with your secret key.

Example:eyJhbGciOiJIUzI1NiJ9.b2p1Q2NWN3ZlVTlIWjBWZA.signature
curl -i -X GET \
  https://docs.dimepay.net/_mock/apis/v1/dime-v1/orders/eyJhbGciOiJIUzI1NiJ9.b2p1Q2NWN3ZlVTlIWjBWZA.signature \
  -H 'client_key: YOUR_API_KEY_HERE'

Responses

The order.

Bodyapplication/json
statusCodeintegerrequired

Repeats the HTTP status code.

Example:200
headersobject
bodyobjectrequired
Response
{ "statusCode": 200, "headers": { "Access-Control-Allow-Origin": "*" }, "body": { "message": "Successful created api order request", "response": { … } } }