Example Usage
sub_account
should be the ID of an existing sub-account you’ve created.- The
percentage
defined on the sub-account determines how much of the payment is routed to that account. - The remaining portion automatically goes to your main business account.
- Currently, each Payment Intent supports one sub-account. Future updates will allow multiple sub-accounts per transaction.
-
Create a sub-account:
Moca
, 10% of transactions. -
Create a Payment Intent for 450 GMD and attach
Moca
as the sub-account. -
After the payment is processed:
- Main account receives 405 GMD
- Sub-account receives 45 GMD