Create transaction: stocks order
Create a transactionId for single stock or basket orders
post/{gatewayname}/transaction
Request
- Base URLhttps://gatewayapi.smallcase.com/gateway
- URLhttps://gatewayapi.smallcase.com/gateway/{gatewayname}/transaction
- Authnone required
Path parameters
gatewaynamestring required
Headers
x-gateway-secretstring required
Required | apiSecret shared for authentication
x-gateway-authtokenstring required
Required | JWT signed with shared secret & payload of guest user or connected user
Request body
Response
200
Example response
{
"success": true,
"data": {
"transactionId": "TRX_6c7c0c3bdc9a40912fb421051670445f",
"expireAt": "2022-01-01T00:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.