patch https://sandbox.finmid.com/api/v2/b2b-payments/simulation/buyer
This endpoint allows you to simulate onboarding of buyers in the sandbox environment. After creation buyers have the status of PENDING
. In a production environment finmid runs certain checks before a buyer is actually set ACTIVE
. However, in the sandbox environment finmid does not run any checks nor sets the created buyer ACTIVE
automatically.
Use this API to onboard created buyers by setting their status
to ACTIVE
. Don't forget to set their expense_limit
to a value greater 0
(e.g. 10000
) as well. You can also simulate other flows as well. For example setting the status to REJECTED
to simulate rejection of a buyer.
Only available in sandbox environment.