Create transaction: Stock Holdings Import

post/{gatewayname}/transaction

Request

  • Base URL
    https://gatewayapi.smallcase.com/gateway
  • URL
    https://gatewayapi.smallcase.com/gateway/{gatewayname}/transaction
  • Auth
    none 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 for guest

Request body

intent'MF_HOLDINGS_IMPORT' | 'HOLDINGS_IMPORT' required

To define intent of the transaction

notesstring

Optional | upto 256 characters, returned in the holdings response

Response

200

successboolean
errorsstring[]

Example response

{
  "success": true,
  "data": {
    "transactionId": "TRX_d1979aee081445faada24bf665cc9c1f",
    "expireAt": "2022-09-16T15:28:09.667Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.