Stakeholder Share
The stakeholder share is taken from the sub-transaction and paid out to the stakeholder. The remainder is paid out to the merchant.
Smart Transaction
{
// ...
"basket"
: {
"products"
: [
{
"item_type"
:
"sub_transaction"
,
// ...
"sub_basket"
: [
// ...
{
"item_type"
:
"stakeholder_payment"
,
"desc"
:
"Marketplace fee"
,
"sum"
: 150,
"reference_id"
:
"fee"
,
"contract_id"
:
"GCR_2H69XY35227V2VKP9WRA3SJ0W95RP0"
}
]
}
]
},
// ...
}
These are the fields:
Attribute |
Type |
Description |
item_type |
string |
Must be stakeholder_payment. |
desc |
string |
Name of the stakeholder share. |
sum |
int |
Absolute amount in smallest currency unit. |
reference_id |
string |
Unique identifier. |
contract_id |
string |
Payment Contract ID of the payee. |