Create transaction: broker connect

This page will help you get started with Connect transaction.

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

unique name assigned to each gateway partner

Headers

x-gateway-secretstring required

Required | apiSecret shared for authentication

x-gateway-authtokenstring required

Required | JWT signed with shared secret & payload of guest user (note: connected user token does not make sense in broker connect flow)

Request body

intentstring required

Required | Define the intent of transactionId

Response

200

successboolean
errorsunknown

Example response

{
  "success": true,
  "data": {
    "transactionId": "TRX_6c7c0c3bdc9f40912fb421f51670445f",
    "expireAt": "2022-01-01T00:00:00.000Z"
  }
}

Changes

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