/funding-recipients
endpoint to create and manage third-party recipients that receive
funds from your transactions. To verify that your integration works with this endpoint,
run the following tests:
/funding-recipients
endpoint to create a new Funding Recipient.application/json
{"recipientId": 234,"status": "approved","createdDate": "2024-07-02T15:30:00Z","lastModifiedDate": "2024-07-02T15:30:00Z","recipientType": "privateCorporation","taxId": "12-3456789","charityId": "abc123","doingBuinessAs": "abc123","address": {"address1": "1 Example Ave.","address2": "Example Address Line 2","address3": "Example Address Line 3","city": "Chicago","state": "Illinois","country": "US","postalCode": "60056"},"contactMethods": [{"type": "email",}],"metadata": {"yourCustomField": "abc123"},"owners": [{"ownerId": 4564,"link": {"rel": "owner","href": "https://api.payroc.com/v1/owners/4564","method": "get"}}],"fundingAccounts": [{"fundingAccountId": 123,"status": "approved","link": {"rel": "fundingAccount","href": "https://api.payroc.com/v1/funding-accounts/123","method": "get"}},{"fundingAccountId": 124,"status": "rejected","link": {"rel": "fundingAccount","href": "https://api.payroc.com/v1/funding-accounts/124","method": "get"}}]}
/funding-recipients
endpoint to manage Funding Accounts
associated with a Recipient.
/funding-recipients
endpoint to add a new Funding Account to an existing Recipient.application/json
{"fundingAccountId": 123,"createdDate": "2024-07-02T15:30:00Z","lastModifiedDate": "2024-07-02T15:30:00Z","status": "approved","type": "checking","use": "credit","nameOnAccount": "Jane Doe","paymentMethods": [{"type": "ach","value": {"routingNumber": "*****6789","accountNumber": "******7890"}}],"metadata": {"yourCustomField": "abc123"},"links": [{"rel": "parent","href": "https://api.payroc.com/v1/funding-recipient/234","method": "get"}]}
/funding-recipients
endpoint to
create and manage Owner objects associated with the Funding Recipient.
/funding-recipients
to create a new Owner.application/json
{"ownerId": 4564,"firstName": "Jane","middleName": "Helen","lastName": "Doe","dateOfBirth": "1964-03-22","address": {"address1": "1 Example Ave.","address2": "Example Address Line 2","address3": "Example Address Line 3","city": "Chicago","state": "Illinois","country": "US","postalCode": "60056"},"identifiers": [{"type": "nationalId","value": "xxxxx4320"}],"contactMethods": [{"type": "email",}],"relationship": {"equityPercentage": 48.5,"title": "CFO","isControlProng": true,"isAuthorizedSignatory": false}}
/funding-accounts
endpoint to retrieve a list of Funding Accounts for a Funding Recipient.application/json
[{"fundingAccountId": 123,"createdDate": "2024-07-02T15:30:00Z","lastModifiedDate": "2024-07-02T15:30:00Z","status": "approved","type": "checking","use": "credit","nameOnAccount": "Jane Doe","paymentMethods": [{"type": "ach","value": {"routingNumber": "*****6789","accountNumber": "******7890"}}],"metadata": {"yourCustomField": "abc123"},"links": [{"rel": "parent","href": "https://api.payroc.com/v1/funding-recipient/234","method": "get"}]},{"fundingAccountId": 124,"createdDate": "2024-07-02T15:30:00Z","lastModifiedDate": "2024-07-02T15:30:00Z","status": "pending","type": "checking","use": "debit","nameOnAccount": "Jane Doe","paymentMethods": [{"type": "ach","value": {"routingNumber": "*****8725","accountNumber": "******3491"}}],"metadata": {"yourCustomField": "abc123"},"links": [{"rel": "parent","href": "https://api.payroc.com/v1/funding-recipient/235","method": "get"}]}]
/funding-instructions
endpoint to tell us how to split your available funds across
multiple Funding Accounts. For example, Funding Accounts that belong to your sales office, your merchants, or any Funding Recipients.
To verify that your integration works with this endpoint, run the following tests:
/funding-accounts
endpoint to retrieve a list of Funding Accounts.
/funding-instructions
endpoint to create a new Funding Instruction.
application/json
{"instructionId": 64643131,"createdDate": "2024-07-02T15:30:00Z","lastModifiedDate": "2024-07-02T15:30:00Z","status": "accepted","merchants": [{"merchantId": "4525644354","recipients": [{"status": "accepted","fundingAccountId": 123,"paymentMethod": "ACH","amount": {"value": 120000,"currency": "USD"},"metadata": {"yourCustomField": "abc123"},"link": {"rel": "fundingAccount","method": "get","href": "https://api.payroc.com/v1/funding-accounts/123"}}],"link": {"rel": "merchant","method": "get","href": "https://api.payroc.com/v1/merchants/4525644354"}}],"metadata": {"instructionRef": "abc123"}}
accepted
, you can continue to edit and update
the instruction. To update a Funding Instruction, you must send a PUT
request to the correct
Funding Instruction id.
/funding-instructions
endpoint to update a Funding Instruction.application/json
{"instructionId": 64643131,"createdDate": "2024-07-02T15:30:00Z","lastModifiedDate": "2024-07-02T15:30:00Z","status": "accepted","merchants": [{"merchantId": "4525644354","recipients": [{"status": "accepted","fundingAccountId": 123,"paymentMethod": "ACH","amount": {"value": 120000,"currency": "USD"},"metadata": {"yourCustomField": "abc123"},"link": {"rel": "fundingAccount","method": "get","href": "https://api.payroc.com/v1/funding-accounts/123"}}],"link": {"rel": "merchant","method": "get","href": "https://api.payroc.com/v1/merchants/4525644354"}}],"metadata": {"instructionRef": "abc123"}}
/funding-activity
endpoint to retrieve a list of all funding activity so far.
/funding-activity
endpoint to retrieve a list of all funding activity.application/json
{"limit": 10,"count": 10,"hasMore": true,"links": [{"rel": "previous","method": "get","href": "https://api.payroc.com/v1/funding-activity?before=11&limit=10&datefrom=2024-07-01&dateto=2024-07-03"},{"rel": "next","method": "get","href": "https://api.payroc.com/v1/funding-activity?after=20&limit=10&datefrom=2024-07-01&dateto=2024-07-03"}],"data": [{"id": 11,"date": "2024-07-02T17:00:00.000Z","merchant": "Pizza Doe","recipient": "Pizza Doe","description": "Large Pepperoni Pizza","type": "credit","amount": 4999,"currency": "USD"},{"id": 12,"date": "2024-07-02T19:32:00.000Z","merchant": "Pizza Doe","recipient": "Pizza Doe","description": "Medium Pepperoni Pizza","type": "credit","amount": 3999,"currency": "USD"},{"id": 13,"date": "2024-07-02T17:00:00.000Z","merchant": "Pizza Doe","recipient": "Pizza Doe","description": "Small Pepperoni Pizza","type": "credit","amount": 3299,"currency": "USD"},{"id": 14,"date": "2024-07-02T17:00:00.000Z","merchant": "Pizza Doe","recipient": "Payroc","description": "Interchange Fees","type": "debit","amount": 50,"currency": "USD"},{"id": 15,"date": "2024-07-02T09:10:00.000Z","merchant": "Pizza Doe","recipient": "Pizza Doe","description": "Premium Club Subscription","type": "credit","amount": 4999,"currency": "USD"},{"id": 16,"date": "2024-07-02T17:00:00.000Z","merchant": "Doe Hot Dogs","recipient": "Doe Hot Dogs","description": "Adjustment","type": "credit","amount": 750,"currency": "USD"},{"id": 17,"date": "2024-07-02T17:00:00.000Z","merchant": "Doe Hot Dogs","recipient": "Payroc","description": "Interchange Fees","type": "debit","amount": 5,"currency": "USD"},{"id": 18,"date": "2024-07-02T17:00:00.000Z","merchant": "Pizza Doe","recipient": "Payroc","description": "Charge back","type": "debit","amount": 1000,"currency": "USD"},{"id": 19,"date": "2024-07-02T17:00:00.000Z","merchant": "Pizza Doe","recipient": "Pizza Doe","description": "Family Meal Deal","type": "credit","amount": 5999,"currency": "USD"},{"id": 20,"date": "2024-07-02T17:00:00.000Z","merchant": "Pizza Doe","recipient": "Pizza Doe","description": "Reservation","type": "debit","amount": 1000,"currency": "USD"}]}