/
v3.0.11Get access

Product Borrow Types

Union

Product the borrowed funds are released to when a player draws on the Power Bank balance of an active bet — the possible win of a settled-but-open parent bet made available to spend before that bet resolves. It appears as the productBorrowType field on borrowPossibleWin. The SDK maps each name to the numeric code the swarm expects, so pass the string and let the SDK translate it.

Possible values

Every literal this type accepts.

ValueDescription
'sport'Release the borrowed funds to the sportsbook.
'casino'Release the borrowed funds to the casino.

Notes

The field is optionalThe SDK only sends productBorrowType when you set it. Omit it and the field is absent from the request, leaving the swarm to apply whatever product it defaults to for the partner, so pass it explicitly whenever the player picked a product in your UI.
The wire format is a numberThe swarm transports product borrow types as numeric codes, and the SDK converts between the name and the code for you in both directions — pass the string and you never have to touch a number. You will still see the codes in raw swarm payloads and in logs, so here is the full list: sport 1 and casino 2.
Was this page helpful?