Skip to main content
This quickstart pays invoice INV-2026-0147 for 320 000 DZD. The business is connected as conn_biz_2Pk7Lm. The supplier is the authorized beneficiary ben_4Qs8Tn2v.
1

Find the beneficiary

Retrieve the beneficiary and show its verified name before you prepare the payment.
Request
Response
2

Prepare the payment

Use a key tied to the invoice, so a retry never creates a second payment.
Request
Response
3

An authorized user approves

The approver opens the payment in Broco, from approval_url or the approval list. They check the supplier name, the amount and the invoice reference, then approve.
4

Receive the result

Broco debits the business, credits the supplier and sends supplier_payment.succeeded. Check that data.id is the supplier payment you created, then check data.payer_connection, data.invoice_reference, data.amount and data.currency. Then mark the invoice as paid.
Event (excerpt)
Fee values are examples.

Next step

Authorization & payment lifecycle

Approval rights, statuses, and what to do after a timeout.