STIP Balance Update - Field Descriptions

The following tables describe the fields that can be included in the request and the response for the STIP Balance Update endpoint.

Request

The following table describes the fields that can be included in the request.

FieldDescriptionTypeMin LengthMax LengthMandatory
wsidThe web service ID. This must be unique for every request sent. You can set your own wsid, for example by using the current date and time (20250213145006), or you can leave the field blank and Thredd generates the wsid for you.N019N
TxnCodeThe Transaction Code. See Transaction Codes. Default value is 16 (Balance adjustment used for STIP).AN11Yes
PANCard Number. Required in request if PublicToken not present.AN1419Conditional
PublicTokenThe card’s public token. Mandatory in request if PAN is not present.AN19Conditional
CurrCodeThe currency code of the adjustment. Must match the currency of the card account.AN33Yes
AvlBalance_GPS_STIPThe new available to spend balance on the card:
Available Balance = Current Balance – Blocked Amount
D120Yes
CurBalance_GPS_STIPThe new current balance on the card. Must not be less than the available balance.D120Yes
Balance_Sequence_ExthostExternal host balance sequence number. Sets the new balances only if this sequence number is higher than the existing balance sequence number currently held in Thredd. This is to ensure that an out-of-date balance is not set due to race conditions.N118Yes
LoadedByName of person or cashier making the adjustment.AN130No
IssCodeThredd Issuer (Program Manager) Code. Assigned by Thredd.AN14Yes
LocDateThe local current date in year-month-date format.YYYY-MM-DD1010Yes
LocTimeThe local current time, in hour-minute-second format.HHMMSS66Yes

Response

The following table describes the fields that are included in the response.

FieldDescription
CurrCodeThe currency code of the balance returned. Will be the currency of the card account.
Balance_Sequence_ExthostThe external host balance sequence number in Thredd after this update. (This will be Balance_Sequence_Exthost in the request message if set, or the current value on Thredd if not set.)
Balance_SequenceThe Thredd balance sequence returned in the response. This is updated each time Thredd updates the actual balance or blocked amount.
ItemIDThe unique item ID returned for the adjustment.
ActionCodeThe action code for the response. See Action Codes.