Set User Markup Config
ashar_set_user_markupSet tenant-specific end-user markup percentages for payins and payouts, applied on top of Ashar spread to determine final quoted rates.
Instructions
Set the end-user markup (2nd spread layer on top of the Ashar margin) for a tenant. ADMIN operation.
This markup is Ashar-specific — the upstream only sees the Ashar partner, so the end-user spread is configured locally. Both rates apply multiplicatively on top of the Ashar spread when quoting.
Args:
tenant_id (string): the tenant id
payin_spread_percent (number, optional): end-user spread on payins (percent)
payout_spread_percent (number, optional): end-user spread on payouts (percent)
Returns the updated user_markup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant_id | Yes | Tenant id | |
| payin_spread_percent | No | End-user payin spread percent | |
| payout_spread_percent | No | End-user payout spread percent |