Paying by bank transfer
sh
curl -X POST https://api.example.com/partner/v1/payments \
-H "Authorization: Bearer ugp_…" -H "Content-Type: application/json" \
-d '{"service_request_id":"sreq_…","payment_method":"bank_transfer"}'Answer:
json
{
"escrow": { "id": "esc_…", "status": "created", "amount": 750 },
"payment": {
"mode": "bank_transfer",
"reference": "UG-102610123456",
"amount": 750,
"accounts": [{ "bank_name": "…", "iban": "TR…", "recipient": "…" }]
}
}- Ask the customer to send
amountto one of theaccounts, withreferencein the transfer description. - When the transfer is seen (the team's approval or automatic matching) the payment becomes
heldand the job is dispatched. Follow it withGET /payments?service_request_id=…orGET /notifications/sync. - With no active transfer account you get
503 BANK_TRANSFER_UNCONFIGURED.GET /payment-methodsshows the open methods up front.