image

Blog Home

How the Blacksheep Partner API Works: Paying on Behalf of Customers

image

Harrison Dell

29 November 2026

5 mins

A pay on behalf of customers API lets a platform move money for its users from its own integration, with each customer keeping their own account. The Blacksheep Partner API does this with a customer account per user and one extra header on signed requests.

Key takeaways

  • Your platform holds one set of API keys and each customer holds their own Blacksheep account, which you act for by naming their account id.
  • The Partner API is off by default and Blacksheep enables it per account after a short manual review.
  • Requests are still signed with your Ed25519 key, carry a bs-on-behalf-of header, and every act-as request emits an audit event.

How does the Blacksheep Partner API work for paying on behalf of customers?

Your platform holds one set of API keys, and each of your customers holds their own Blacksheep account. You create the customer, they complete verification, and from then on your signed requests can act for that customer by naming their account id.

We call this "acting on behalf of a customer", and it is described in the Partner API documentation. The customer's balances and transactions sit in the customer's own account, and your platform can read and move them because the account has granted your partner access.

This suits exchanges, brokers, payment companies and other platforms that pay suppliers, users or counterparties for many end customers. If you are weighing whether the model fits your business, the crypto exchange integration guide shows it applied to one sector.

Why is the Partner API switched off by default?

The Partner API is off by default on every account. Blacksheep enables it per account after a short manual review, so you cannot switch it on yourself.

To request it, email support@blacksheep.money from the team that will own the integration. The separate guide on how to apply for Partner API access covers who it suits and what to include in your request.

What are the four steps from approval to paying for a customer?

The flow has four steps, and the second and third involve your customer directly.

  • Get approved as a partner: Blacksheep reviews your request and enables the Partner API on your account.
  • Create the customer: call account.customer.create with the customer's email. The response returns the customer's Blacksheep account id, allocated up front, plus a hosted KYC url and an expires_at time.
  • Send the customer the url: store the account id against your own customer record, then pass the hosted KYC url to the customer. If the url expires, call account.customer.create again with the same email to receive a fresh url, and the account id stays the same.
  • Act for the customer: once the customer completes hosted KYC, the account is created under that id with access granted to your partner. You then send signed requests with the header bs-on-behalf-of: <customer account id>.

Verification happens on a page hosted by Blacksheep, so the customer completes it there rather than inside your product. Requests for that customer are rejected until the account exists and is active, so your integration should treat a customer as ready only after they have finished.

How are on-behalf requests authenticated and audited?

Authentication does not change. Every request is still signed with your Ed25519 key, using the headers Bs-Key-Id, Bs-Timestamp, Bs-Nonce and Bs-Signature, plus Content-Digest when the request has a body. The authentication guide explains the signing method, and there are no bearer tokens.

The bs-on-behalf-of header names the customer account you are acting for, but the request is still authenticated by your key and attributed to your partner account. Every act-as request emits an audit event, so there is a record of what your platform did on each customer's behalf.

A request is rejected with a 403 unless your partner approval is in place and the customer account exists and is active. The header works only on API-key requests, not on dashboard sessions, so a person logged into the dashboard cannot use it.

What can you do for a customer once access is granted?

With the header set, you send signed requests scoped to that customer. The actions include:

  • Create payout recipients: add third-party bank accounts as recipients, as described in the recipients guide.
  • Add bank accounts: register bank accounts as external accounts for the customer.
  • Submit withdrawals or swaps: move value out as a payout or convert between assets for the customer.
  • Read balances, transactions and external accounts: show the customer their position inside your product.

Paying people other than the customer is part of the design. The third-party payments page explains how a customer can pay suppliers, contractors or counterparties to bank accounts in local currency, and the AUD payout guide covers the NPP and PayID rail that many Australian payouts use.

You can list your customers with account.customer.getMany and fetch one with account.customer.get. Each customer has an account_reference, which you can show in your own product as their stable identifier.

How do AUD deposits reach the right customer?

The customer must include their account_reference on inbound bank transfers. That is how their AUD deposits are matched and credited to the correct customer account.

Your product should therefore show the reference next to the deposit details and make it hard to miss. Repeating the instruction in your deposit flow and your support articles will save your team questions about where a transfer has gone.

How do you get from design to a first customer?

Start by sending the partner request to support, and build the signing layer in parallel, since the signing method is the same for every request. The API playground lets you try calls before you write production code.

Keys are created in the dashboard under Settings and Dev space. The private signing key never leaves your systems and is shown once, so store it in your secrets manager when you create it.

For background on the wider model, the stablecoins for PSPs guide explains how payment companies use USDC and USDT alongside local rails.

To request Partner API access, email support@blacksheep.money. For anything else, contact us or create a business account.

Frequently asked questions

Does the customer need their own Blacksheep account for a partner to pay on their behalf?

Yes. Calling account.customer.create allocates the account id up front, and the account is created under that id once the customer completes hosted KYC. Access is then granted to your partner.

What happens if the hosted KYC link expires?

Call account.customer.create again with the same email. You receive a fresh url and the customer's account id stays the same, so you do not need to change anything on your side.

Why did my on-behalf request return a 403?

A 403 means the request was rejected. The causes are that your partner approval is not in place, or that the customer account does not exist or is not active. The header also works only on API-key requests, so a dashboard session cannot use it.

Can I see what my platform did for each customer?

Yes. Every act-as request emits an audit event, and requests remain attributed to your partner account even though they carry the customer's account id in the bs-on-behalf-of header.

Disclaimer

The information in this article is general in nature and does not constitute financial advice or a recommendation to buy, sell or hold digital assets. Fees shown are indicative and were accurate at the time of publication; final fees are displayed at the time of your transaction. Digital assets are volatile and you may lose some or all of the value you hold.

Blacksheep Operations Pty Ltd (ABN 16 674 111 392) is registered with AUSTRAC as a Digital Currency Exchange provider (DCE100860053-001) and as an Independent Remittance Dealer. Blacksheep is also registered on the New Zealand Financial Services Provider Register.

Enjoy easy buying and selling crypto in Australia

Blacksheep is fully registered Digital Currency Exchange (DCE) with AUSTRAC

Get Started

Share Post

imageimageimage

Begin Your Journey with Blacksheep

Join the community of Australian investors using Blacksheep today

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
imageimage