post https://api.smartpay.co/v1/orders
Create an order using a token. Both the token and the consumer who owns the token must be active.
Errors
In addition to the Errors applicable to all API endpoints, the following errors are specific to creating an order using a token:
status code | error code | description |
---|---|---|
404 | token.not-found | No token was found meeting the requirements. Make sure to use the right tokenId and API key. Objects in test mode can only be accessed using test keys and objects in live object with live keys. |
400 | token.invalid | The token specified is not currently valid. |