API
To use the Bitpayway API, you need the Business ID shown in the business control panel and an API key generated for that business. Include both values in every HTTP request:
Base URL
Send production requests to:
https://api.bitpayway.com
The routes in this reference are relative to this URL. For example,
GET /api/currency-token corresponds to
GET https://api.bitpayway.com/api/currency-token.
Header
- Authorization: "ApiKey <SECRET_KEY>"
- X-Business-Id: "<BUSINESS_UUID>"
Keep the API key on your server and never expose it in frontend code. For example, list the available tokens and networks with:
curl --request GET 'https://api.bitpayway.com/api/currency-token' \
--header 'Authorization: ApiKey <YOUR_API_KEY>' \
--header 'X-Business-Id: <YOUR_BUSINESS_ID>'
Routes
POST/api/orderCria ordem de pagamento
Query parameters
POST /api/order?isTestnet=true
isTestnet (boolean): A safety guard for environments that must not create
orders on mainnet. Set it to true to ensure that the operation is performed
only on a testnet; if the selected network is a mainnet, the operation is
blocked. This is especially useful in test and development environments.
Request body
{
"description": "Compra #1",
"requestId": "2f3c9d2c-1b75-4e9d-9b2f-67d0a9c3c7d1",
"amount": "10.50",
"network": "ethereum",
"token": "USDT"
}
description: The description of the created payment order.
requestId: A unique ID generated by your application so you can easily identify the created order.
amount: The value of the payment order. This field must be a string representing the amount.
network: The network of the currency (token) used for the payment order.
This field is case insensitive, so ethereum, Ethereum and ETHEREUM are
equivalent. Available networks:
- Mainnet:
Ethereum,Arbitrum,Polygon - Testnet:
Sepolia,Arbitrum Sepolia,Polygon Amoy
The token must be available on the selected network, as listed in
Supported assets and networks;
GET /api/currency-token lists the registered token and network combinations.
token: The currency you want the payment order to be paid with. It is the token's symbol, not its name.
paymentModel (optional): standard or split, where split creates a
multi-destination order. Omit it to keep the standard behaviour and the standard response shape.
split (required when paymentModel is split): the allocation for one
partner, as { "partnerId": "<partner link UUID>", "partnerAmount": "<gross share>" }. partnerAmount is a decimal string in the display unit of the
token, between zero and amount, limited to the token's decimals. Instead of
partnerAmount, you can send partnerPercent, a percentage of amount from
0 to 100 with up to two decimals ("12.5"); send exactly one of the two.
See Multi-destination payments.
Responses
- 201
Payment order created (or an existing one returned due to duplication).
-
gatewayUrl: The URL of the Bitpayway payment page to which the payer must be redirected.
-
paymentModel and split: returned only for multi-destination orders, with the partner and the gross allocation fixed on the order.
{
"order": {
"id": "7f7f5a2a-5c4f-4c6b-9cbb-1f0f4b4e42f2",
"date": "2026-02-12T18:12:43.384Z",
"requestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientId": "12345",
"orderId": "42",
"description": "string",
"amount": "10.50",
"status": "pending",
"gatewayUrl": "https://example.com/"
}
} -
- 400Falha ao criar ordem
{
"message": "Failed to create orders",
"details": "requestId must be a valid uuid"
} - 401Falha ao criar ordem
{
"message": "Failed to create order",
"details": "Unauthorized"
}
GET/api/orderListar ordens
Query parameters
All filters are optional and can be combined. When more than one filter is provided, only orders matching all of them are returned.
GET /api/order?dateStart=2026-01-10&dateEnd=2026-01-15&status=paid&amount=200
| Parameter | Type | Description |
|---|---|---|
| date | date or date-time | Filters by the order creation date. YYYY-MM-DD includes the entire day; an ISO 8601 date-time matches the exact instant. |
| dateStart | date or date-time | Inclusive lower boundary for the order creation date. |
| dateEnd | date or date-time | Inclusive upper boundary for the order creation date. YYYY-MM-DD includes the entire day. It must be greater than or equal to dateStart. |
| requestId | UUID v4 | Filters by the request identifier supplied when the order was created. |
| status | string | Filters by status. Accepted values: pending, partial paid, expired partial paid, paid waiting confirmations, paid, expired, and canceled. |
| amount | numeric string | Filters by the exact order amount, for example 200 or 200.50. |
Responses
- 200
List of orders. Each order includes the payment amount fields below as decimal strings in the order token:
- paidAmount: Total amount paid on-chain before fees.
- netAmount: Amount sent to the client wallet after payment fees.
- fee: Platform spread.
A multi-destination order also carries
paymentModel,split,settlementStatus,settlementVersionand the amounts of each side (partnerNetAmount,partnerGrossAmount,clientCommission,partnerCommission,commissionReceived). On a multi-destination order,netAmountis the amount you received andpaidAmountis the confirmed gross amount of the order. See Multi-destination payments.{
"data": [
{
"id": "7f7f5a2a-5c4f-4c6b-9cbb-1f0f4b4e42f2",
"date": "2026-02-12T18:12:43.384Z",
"requestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientId": "12345",
"orderId": "42",
"description": "string",
"amount": "10.50",
"status": "pending",
"gatewayUrl": "https://example.com/",
"paidAmount": "0",
"netAmount": "0",
"fee": "0"
}
]
} - 400Falha ao listar ordem
{
"message": "Failed to list orders",
"details": "requestId must be a valid uuid"
} - 401Falha ao listar ordem
{
"message": "Failed to list order",
"details": "Unauthorized"
}
GET/api/order/request/{requestId}Get payment order by request ID
Path parameters
GET /api/order/request/3fa85f64-5717-4562-b3fc-2c963f66afa6
| Parameter | Type | Required | Description |
|---|---|---|---|
| requestId | UUID | Yes | Request identifier supplied when the payment order was created. |
Responses
- 200
Payment order found by its request ID. The response includes the payment amount fields below as decimal strings in the order token:
- paidAmount: Total amount paid on-chain before fees.
- netAmount: Amount sent to the client wallet after payment fees.
- fee: Platform spread.
{
"order": {
"id": "7f7f5a2a-5c4f-4c6b-9cbb-1f0f4b4e42f2",
"date": "2026-02-12T18:12:43.384Z",
"requestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientId": "12345",
"orderId": "42",
"description": "Order #1234",
"amount": "1000.52",
"status": "paid",
"gatewayUrl": "https://example.com/",
"paidAmount": "1000.52",
"netAmount": "950.494",
"fee": "50.026"
}
} - 400Invalid request ID.
- 401Invalid API key.
- 404Payment order not found.
- 503The payment order status could not be reconciled with the blockchain.
GET/api/currency-tokenLista moedas (tokens) disponíveis
Responses
- 200Lista de tokens. Ele mostra todas os tokens de cada rede disponíveis na plataforma.
Example entries on Sepolia:
{
"data": [
{
"contractId": "d9b074ab-34ee-539d-83c8-ec27c391084e",
"name": "EURC",
"symbol": "EURC",
"currency": { "id": "63ee389e-e07e-579e-a699-0840c9d538e1", "name": "Euro", "symbol": "EUR" },
"network": "Sepolia",
"chainId": "11155111",
"isTestnet": true,
"splitEnabled": true
},
{
"contractId": "a749a526-e4d9-519a-91c3-cfc96678a355",
"name": "EURe",
"symbol": "EURe",
"currency": { "id": "63ee389e-e07e-579e-a699-0840c9d538e1", "name": "Euro", "symbol": "EUR" },
"network": "Sepolia",
"chainId": "11155111",
"isTestnet": true,
"splitEnabled": true
},
{
"contractId": "161b5bbb-fb1d-56ae-8445-f46f7d8d3ecb",
"name": "JPY Coin",
"symbol": "JPYC",
"currency": { "id": "c14ccb71-33da-57f1-960f-ebbe520c9f48", "name": "Japanese Yen", "symbol": "JPY" },
"network": "Sepolia",
"chainId": "11155111",
"isTestnet": true,
"splitEnabled": true
}
]
} - 400Falha ao listar tokens
{
"message": "Failed to list orders",
"details": "requestId must be a valid uuid"
} - 401Falha ao listar tokens
{
"message": "Failed to list orders",
"details": "requestId must be a valid uuid"
}
Standard wallet
Your server can manage the same token wallet shown in the business dashboard.
Send Authorization: ApiKey <your-api-key> together with
X-Business-Id: <your-business-id> and use the token's contractId from
GET /api/currency-token as tokenContractId when saving a wallet. Submit the
returned authorization on the indicated network, then list the configured
wallets to check their status.
GET/api/walletLists every token contract with a saved standard wallet and its on-chain status.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | Integer | No | Page number, starting at 1. Defaults to 1. |
pageSize | Integer | No | Results per page, from 1 to 100. Defaults to 20. |
Responses
- 200Configured token wallets and their registration status.
{
"data": [
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5",
"contractAddress": "0x3333333333333333333333333333333333333333",
"name": "USD Coin",
"symbol": "USDC",
"currency": {
"id": "ad05d818-98e2-4e07-9864-b028b551f032",
"name": "US Dollar",
"symbol": "USD"
},
"network": { "name": "Ethereum", "chainId": "1", "isTestnet": false },
"wallet": "0x1111111111111111111111111111111111111111",
"configured": "0x1111111111111111111111111111111111111111",
"isEnabled": true
}
],
"pagination": { "page": 1, "pageSize": 20, "total": 1, "totalPages": 1 }
}Only token contracts with a saved wallet appear in
data.configuredis the saved wallet;walletis the current on-chain wallet.isEnabledis true only when they match.nameandsymbolidentify the token;currencyidentifies the linked currency and may benull. With no saved wallets,datais an empty array andpagination.totalis0. UsepageandpageSizeto read further results. - 401Invalid or missing API key.
PATCH/api/walletSaves or changes the business's standard wallet for a token.
Request body
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5",
"wallet": "0x1111111111111111111111111111111111111111"
}
Use a wallet address valid on the token's network.
Responses
- 200Wallet saved with a signed registry authorization.
{
"walletRegisterAddress": "0x2222222222222222222222222222222222222222",
"abi": [],
"network": { "name": "Ethereum", "chainId": "1", "isTestnet": false },
"functionName": "setClientWalletWithAuth",
"args": [
"12345",
"0x3333333333333333333333333333333333333333",
"0x1111111111111111111111111111111111111111",
"0",
"1792843200",
27,
"0x...",
"0x..."
],
"expiresAt": "2026-10-24T12:00:00.000Z",
"signatureParams": {
"clientId": "12345",
"token": "0x3333333333333333333333333333333333333333",
"wallet": "0x1111111111111111111111111111111111111111",
"nonce": "0",
"deadline": "1792843200",
"v": 27,
"r": "0x...",
"s": "0x..."
}
}Submit
functionNamewithargstowalletRegisterAddresson the indicated network beforeexpiresAt. Then query the wallet status.abiis the registry contract ABI; the empty array above only keeps this example short. - 400Invalid token contract or wallet address.
- 401Invalid or missing API key.
POST/api/wallet/authorizationReissues a registry authorization for the saved standard wallet.
Request body
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5"
}
The wallet must already be saved with PATCH /api/wallet.
Responses
- 201Signed registry authorization.
{
"walletRegisterAddress": "0x2222222222222222222222222222222222222222",
"abi": [],
"network": { "name": "Ethereum", "chainId": "1", "isTestnet": false },
"functionName": "setClientWalletWithAuth",
"args": [
"12345",
"0x3333333333333333333333333333333333333333",
"0x1111111111111111111111111111111111111111",
"0",
"1792843200",
27,
"0x...",
"0x..."
],
"expiresAt": "2026-10-24T12:00:00.000Z",
"signatureParams": {
"clientId": "12345",
"token": "0x3333333333333333333333333333333333333333",
"wallet": "0x1111111111111111111111111111111111111111",
"nonce": "0",
"deadline": "1792843200",
"v": 27,
"r": "0x...",
"s": "0x..."
}
}Submit
functionNamewithargstowalletRegisterAddresson the indicated network beforeexpiresAt. Then query the wallet status.abiis the registry contract ABI; the empty array above only keeps this example short. - 400Invalid token contract or no saved wallet.
- 401Invalid or missing API key.
Multi-destination payment configuration
For the complete lifecycle—from wallet responsibilities and dashboard setup to
orders, settlement and reconciliation—use the single
Multi-destination payments guide. The components below are the API
reference for server integrations. The client wallet may also be managed in the
dashboard; partner links and wallets are API-only.
Your server may show a partner its own wallet status and accept its wallet
changes, then call the partner routes on its behalf. Keep the API key on your
server because it grants access to every partner link of your business.
GET /api/split/partners includes wallets with saved and on-chain status for
each enabled token; pass tokenContractId to select one token.
GET /api/split/wallet lists the business's saved multi-destination wallets
across token contracts and networks. It returns the saved configuration and
current registration status for each wallet.
GET /api/split/partners/{partnerId}/wallet provides the same paginated view
for one partner link owned by your business.
GET/api/split/partnersLists the partner links owned by the business associated with the API key.
Query parameters
The partner filters are optional and use exact matching. When both are provided, only
the partner that matches both values is returned. Results always remain scoped
to the business associated with the API key. Each partner includes live wallet
status for every enabled multi-destination token. Use tokenContractId to limit
the wallet list to one token.
| Name | Type | Required | Description |
|---|---|---|---|
id | UUID | No | Public partner-link ID returned by POST /api/split/partners. |
external_id | string | No | Client-defined partner ID, from 1 to 255 characters. |
tokenContractId | UUID | No | Token contract ID used to limit each partner's wallets list. |
Responses
- 200Partner links.
{
"data": [
{
"id": "9f1c2d64-5717-4562-b3fc-2c963f66afa6",
"name": "Marketplace partner",
"external_id": "marketplace-seller-42",
"wallets": [
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5",
"wallet": "0x1111111111111111111111111111111111111111",
"active": true,
"isEnabled": true,
"configured": {
"wallet": "0x1111111111111111111111111111111111111111",
"active": true
}
}
]
}
]
} - 400The id or external_id filter is invalid.
- 401Invalid or missing API key.
POST/api/split/partnersCreates a partner link for multi-destination payments.
Request body
{
"name": "Marketplace partner",
"external_id": "marketplace-seller-42"
}
Creates a partner link owned by the business associated with the API key. Use
the returned id as split.partnerId when creating orders and as the
partnerId path parameter when configuring that partner's wallet.
external_id is an optional client-defined string from 1 to 255 characters.
When set, it must be unique among the partners of this business. Another
business may use the same value. A duplicate within the same business returns
409. When omitted, the response contains "external_id": null.
Responses
- 201Partner link created.
{
"partner": {
"id": "9f1c2d64-5717-4562-b3fc-2c963f66afa6",
"name": "Marketplace partner",
"external_id": "marketplace-seller-42"
}
} - 400The partner name or external_id is invalid.
- 401Invalid or missing API key.
- 409The external_id is already in use by this business.
GET/api/split/walletLists the business's saved multi-destination wallets for token contracts across networks.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | Integer | No | Page number, starting at 1. Defaults to 1. |
pageSize | Integer | No | Results per page, from 1 to 100. Defaults to 20. |
Responses
- 200Saved wallets and their current registration status.
{
"data": [
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5",
"contractAddress": "0x3333333333333333333333333333333333333333",
"name": "USD Coin",
"symbol": "USDC",
"currency": {
"id": "ad05d818-98e2-4e07-9864-b028b551f032",
"name": "US Dollar",
"symbol": "USD"
},
"network": { "name": "Ethereum", "chainId": "1", "isTestnet": false },
"walletRegisterAddress": "0x2222222222222222222222222222222222222222",
"wallet": "0x1111111111111111111111111111111111111111",
"active": true,
"configured": {
"wallet": "0x1111111111111111111111111111111111111111",
"active": true
},
"isEnabled": true
}
],
"pagination": { "page": 1, "pageSize": 20, "total": 1, "totalPages": 1 }
}Only saved business wallets appear in
data; partner wallets are listed byGET /api/split/partners.configuredis the saved wallet and active state;walletandactiveare the current registration.isEnabledis true when the registered state matches the saved configuration.walletRegisterAddressidentifies the registry used for that entry. If no wallets are saved,datais an empty array andpagination.totalis0. A token can have more than one entry after a registry change. UsepageandpageSizeto read further results. - 401Invalid or missing API key.
PATCH/api/split/walletSaves the desired multi-destination wallet for the business.
Request body
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5",
"wallet": "0x1111111111111111111111111111111111111111",
"active": true
}
Use a contractId returned by GET /api/currency-token with
splitEnabled: true. The active field defaults to true; only partner links
can be deactivated. Saving does not change the blockchain until the returned
authorization is submitted on-chain.
Responses
- 200Configuration saved with the signed registry authorization.
{
"walletRegisterAddress": "0x2222222222222222222222222222222222222222",
"abi": [],
"network": { "name": "Ethereum", "chainId": "1", "isTestnet": false },
"functionName": "setSplitWalletWithAuth",
"args": [
"12345",
"7",
"0x3333333333333333333333333333333333333333",
"0x1111111111111111111111111111111111111111",
true,
"0",
"1789834200",
27,
"0x...",
"0x..."
],
"expiresAt": "2026-09-20T12:10:00.000Z",
"signatureParams": {
"clientId": "12345",
"splitId": "7",
"token": "0x3333333333333333333333333333333333333333",
"wallet": "0x1111111111111111111111111111111111111111",
"active": true,
"nonce": "0",
"deadline": "1789834200",
"v": 27,
"r": "0x...",
"s": "0x..."
}
}functionNameis the registry contract method (part of theabi) to call onwalletRegisterAddress, on the network innetwork.chainId, passingargs. The value issetSplitWalletWithAuthfor a partner wallet andsetClientWalletWithAuthfor the business's own wallet;splitIdis present insignatureParamsonly in the partner case. - 400Invalid request body or parameters.
- 401Invalid or missing API key.
- 404Partner or token contract not found for this client.
- 422Multi-destination payments are unavailable or the configuration is invalid.
POST/api/split/wallet/authorizationReturns a short-lived EIP-712 authorization for the saved configuration.
Request body
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5"
}
Signs the latest saved configuration. The authorization expires after ten
minutes and can be consumed only once. Your integration or relayer must submit
it to walletRegisterAddress using the returned ABI, on the network in
network.chainId.
Responses
- 201Signed registry authorization.
{
"walletRegisterAddress": "0x2222222222222222222222222222222222222222",
"abi": [],
"network": { "name": "Ethereum", "chainId": "1", "isTestnet": false },
"functionName": "setSplitWalletWithAuth",
"args": [
"12345",
"7",
"0x3333333333333333333333333333333333333333",
"0x1111111111111111111111111111111111111111",
true,
"0",
"1789834200",
27,
"0x...",
"0x..."
],
"expiresAt": "2026-09-20T12:10:00.000Z",
"signatureParams": {
"clientId": "12345",
"splitId": "7",
"token": "0x3333333333333333333333333333333333333333",
"wallet": "0x1111111111111111111111111111111111111111",
"active": true,
"nonce": "0",
"deadline": "1789834200",
"v": 27,
"r": "0x...",
"s": "0x..."
}
}functionNameis the registry contract method (part of theabi) to call onwalletRegisterAddress, on the network innetwork.chainId, passingargs. The value issetSplitWalletWithAuthfor a partner wallet andsetClientWalletWithAuthfor the business's own wallet;splitIdis present insignatureParamsonly in the partner case. - 400Invalid request body or parameters.
- 401Invalid or missing API key.
- 404Partner or token contract not found for this client.
- 422Multi-destination payments are unavailable or the configuration is invalid.
GET/api/split/wallet/statusCompares the saved configuration with the current on-chain registry state.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
tokenContractId | UUID | Yes | Token contract UUID returned as contractId by GET /api/currency-token. |
Responses
- 200Saved and on-chain wallet state.
{
"wallet": "0x1111111111111111111111111111111111111111",
"active": true,
"isEnabled": true,
"configured": {
"wallet": "0x1111111111111111111111111111111111111111",
"active": true
}
}walletandactiveare the current on-chain state.configuredis the saved desired state.isEnabledistruewhen both states match; for a confirmed partner deactivation it can betruewhileactiveisfalse. - 400Invalid request body or parameters.
- 401Invalid or missing API key.
- 404Partner or token contract not found for this client.
- 422Multi-destination payments are unavailable or the configuration is invalid.
GET/api/split/partners/{partnerId}/walletLists the saved multi-destination wallets for one partner link owned by the business.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
partnerId | UUID | Yes | Partner link returned by POST /api/split/partners. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | Integer | No | Page number, starting at 1. Defaults to 1. |
pageSize | Integer | No | Results per page, from 1 to 100. Defaults to 20. |
Responses
- 200Saved partner wallets and their current registration status.
{
"data": [
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5",
"contractAddress": "0x3333333333333333333333333333333333333333",
"name": "USD Coin",
"symbol": "USDC",
"currency": {
"id": "ad05d818-98e2-4e07-9864-b028b551f032",
"name": "US Dollar",
"symbol": "USD"
},
"network": { "name": "Ethereum", "chainId": "1", "isTestnet": false },
"walletRegisterAddress": "0x2222222222222222222222222222222222222222",
"wallet": "0x4444444444444444444444444444444444444444",
"active": true,
"configured": {
"wallet": "0x4444444444444444444444444444444444444444",
"active": true
},
"isEnabled": true
}
],
"pagination": { "page": 1, "pageSize": 20, "total": 1, "totalPages": 1 }
}Only wallets saved for this partner appear in
data.configuredis the saved address and active state;walletandactiveshow the current registration.isEnabledis true when those states match. If this partner has no saved wallets,datais empty andpagination.totalis0. - 400Invalid partner ID or pagination parameters.
- 401Invalid or missing API key.
- 404Partner link not found for this business.
PATCH/api/split/partners/{partnerId}/walletSaves the desired wallet and active state for a partner link.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
partnerId | UUID | Yes | Partner link returned by POST /api/split/partners. |
Request body
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5",
"wallet": "0x1111111111111111111111111111111111111111",
"active": true
}
Use a contractId returned by GET /api/currency-token with
splitEnabled: true. The active field defaults to true; only partner links
can be deactivated. Saving does not change the blockchain until the returned
authorization is submitted on-chain.
Responses
- 200Configuration saved with the signed registry authorization.
{
"walletRegisterAddress": "0x2222222222222222222222222222222222222222",
"abi": [],
"network": { "name": "Ethereum", "chainId": "1", "isTestnet": false },
"functionName": "setSplitWalletWithAuth",
"args": [
"12345",
"7",
"0x3333333333333333333333333333333333333333",
"0x1111111111111111111111111111111111111111",
true,
"0",
"1789834200",
27,
"0x...",
"0x..."
],
"expiresAt": "2026-09-20T12:10:00.000Z",
"signatureParams": {
"clientId": "12345",
"splitId": "7",
"token": "0x3333333333333333333333333333333333333333",
"wallet": "0x1111111111111111111111111111111111111111",
"active": true,
"nonce": "0",
"deadline": "1789834200",
"v": 27,
"r": "0x...",
"s": "0x..."
}
}functionNameis the registry contract method (part of theabi) to call onwalletRegisterAddress, on the network innetwork.chainId, passingargs. The value issetSplitWalletWithAuthfor a partner wallet andsetClientWalletWithAuthfor the business's own wallet;splitIdis present insignatureParamsonly in the partner case. - 400Invalid request body or parameters.
- 401Invalid or missing API key.
- 404Partner or token contract not found for this client.
- 422Multi-destination payments are unavailable or the configuration is invalid.
POST/api/split/partners/{partnerId}/wallet/authorizationReturns a short-lived EIP-712 authorization for the saved configuration.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
partnerId | UUID | Yes | Partner link returned by POST /api/split/partners. |
Request body
{
"tokenContractId": "28a555aa-d6bb-4a0b-9266-0b6668f824b5"
}
Signs the latest saved configuration. The authorization expires after ten
minutes and can be consumed only once. Your integration or relayer must submit
it to walletRegisterAddress using the returned ABI, on the network in
network.chainId.
Responses
- 201Signed registry authorization.
{
"walletRegisterAddress": "0x2222222222222222222222222222222222222222",
"abi": [],
"network": { "name": "Ethereum", "chainId": "1", "isTestnet": false },
"functionName": "setSplitWalletWithAuth",
"args": [
"12345",
"7",
"0x3333333333333333333333333333333333333333",
"0x1111111111111111111111111111111111111111",
true,
"0",
"1789834200",
27,
"0x...",
"0x..."
],
"expiresAt": "2026-09-20T12:10:00.000Z",
"signatureParams": {
"clientId": "12345",
"splitId": "7",
"token": "0x3333333333333333333333333333333333333333",
"wallet": "0x1111111111111111111111111111111111111111",
"active": true,
"nonce": "0",
"deadline": "1789834200",
"v": 27,
"r": "0x...",
"s": "0x..."
}
}functionNameis the registry contract method (part of theabi) to call onwalletRegisterAddress, on the network innetwork.chainId, passingargs. The value issetSplitWalletWithAuthfor a partner wallet andsetClientWalletWithAuthfor the business's own wallet;splitIdis present insignatureParamsonly in the partner case. - 400Invalid request body or parameters.
- 401Invalid or missing API key.
- 404Partner or token contract not found for this client.
- 422Multi-destination payments are unavailable or the configuration is invalid.
GET/api/split/partners/{partnerId}/wallet/statusCompares the saved configuration with the current on-chain registry state.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
partnerId | UUID | Yes | Partner link returned by POST /api/split/partners. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
tokenContractId | UUID | Yes | Token contract UUID returned as contractId by GET /api/currency-token. |
Responses
- 200Saved and on-chain wallet state.
{
"wallet": "0x1111111111111111111111111111111111111111",
"active": true,
"isEnabled": true,
"configured": {
"wallet": "0x1111111111111111111111111111111111111111",
"active": true
}
}walletandactiveare the current on-chain state.configuredis the saved desired state.isEnabledistruewhen both states match; for a confirmed partner deactivation it can betruewhileactiveisfalse. - 400Invalid request body or parameters.
- 401Invalid or missing API key.
- 404Partner or token contract not found for this client.
- 422Multi-destination payments are unavailable or the configuration is invalid.