Reference
//
Get recent vendors by cha...
Returns a merged list of recently paid vendors from suppliers and expenses. Vendors from suppliers have an _id, while vendors derived from expenses lack an _id to indicate they can be created as new vendors.
Security
oauth2ClientCredentials(Required scopes: vendors:read)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/vendors/recent/{channel}
- Productionhttps://api.boyahq.com/v2/vendors/recent/{channel}
- Sandboxhttps://sandbox.api.boyahq.com/v2/vendors/recent/{channel}
curl -i -X GET \
'https://developer.boyahq.com/_mock/v2/openapi/vendors/recent/{channel}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'business_id: string' \
-H 'org_wallet_ref: string'List of recent vendors
Array []
Payment channel
Enum:"mpesa""mtn""pochi""airtel""xentebanktransfer""bank""rtgs""paybill""till""airtime"
Response
[ { "_id": "string", "vendor": "string", "receiver": "string", "accno": "string", "vendor_ref": {}, "channel": "mpesa", "phone": "string", "company_name": "string", "contact_name": "string", "email": "string", "payment_instructions": [ … ] } ]