"Adyen Balance Control API skill. Use when working with Adyen Balance Control for balanceTransfer. Covers 1 endpoint."
Resources
1Install
npx skillscat add lap-platform/claude-marketplace/adyen-balance-control-api Install via the SkillsCat registry.
SKILL.md
Adyen Balance Control API
API version: 1
Auth
ApiKey X-API-Key in header | Bearer basic
Base URL
https://pal-test.adyen.com/pal/servlet/BalanceControl/v1
Setup
- Set Authorization header with your Bearer token
- POST /balanceTransfer -- create first balanceTransfer
Endpoints
1 endpoints across 1 groups. See references/api-spec.lap for full details.
balanceTransfer
| Method | Path | Description |
|---|---|---|
| POST | /balanceTransfer | Start a balance transfer |
Enhanced Skill Content
Question Mapping
- "How do I transfer balance between merchant accounts?" -> POST /balanceTransfer
- "How do I move funds from one merchant to another?" -> POST /balanceTransfer
- "How do I process a tax transfer between merchants?" -> POST /balanceTransfer (type: tax)
- "How do I issue a credit adjustment to a merchant?" -> POST /balanceTransfer (type: credit)
- "How do I record a fee transfer between accounts?" -> POST /balanceTransfer (type: fee)
- "How do I process a terminal sale balance transfer?" -> POST /balanceTransfer (type: terminalSale)
- "How do I make a debit adjustment between merchants?" -> POST /balanceTransfer (type: debit)
- "How do I transfer balance with a reference for tracking?" -> POST /balanceTransfer (with reference field)
- "How do I transfer funds in a specific currency?" -> POST /balanceTransfer (set amount.currency)
- "How do I check if a balance transfer succeeded?" -> POST /balanceTransfer (inspect status in response)
- "How do I transfer balance and add a description?" -> POST /balanceTransfer (with description field)
- "How do I reconcile balance transfers using PSP references?" -> POST /balanceTransfer (use pspReference from response)
Response Tips
- balanceTransfer: Response mirrors request fields plus
pspReference(unique ID for reconciliation),createdAt(ISO 8601 timestamp), andstatus. Always storepspReference-- it is the canonical identifier for the transfer. Theamountin the response confirms the actual transferred amount, which should match the request.
Anomaly Flags
- Non-success status: Surface immediately if
statusin the response is anything other than the expected success value -- this indicates the transfer may not have completed. - Amount mismatch: Flag if the response
amount.valueoramount.currencydiffers from the request, as this suggests partial transfer or currency conversion. - Missing pspReference: If the response lacks a
pspReference, the transfer may not have been recorded -- alert the user to retry or investigate. - Authentication errors (401/403): Indicate expired or invalid API key -- prompt user to verify
X-API-Keyor basic auth credentials. - Duplicate reference: If using the same
referencevalue across calls, surface a warning that this may cause idempotency conflicts or reconciliation issues. - High-value transfers: Consider alerting when
amount.valueexceeds a user-defined threshold, as these may require additional approval.
Playbook
1. Transfer Balance Between Two Merchants
- Identify the source (
fromMerchant) and destination (toMerchant) merchant account codes. - Determine the amount: set
amount.currency(e.g., "EUR") andamount.valuein minor units (e.g., 1000 = 10.00 EUR). - Choose the transfer
type(tax, fee, terminalSale, credit, debit, or adjustment). - Call
POST /balanceTransferwith the required fields. - Store the
pspReferencefrom the response for reconciliation. - Verify
statusconfirms success.
2. Tracked Transfer with Reference and Description
- Generate a unique
referencestring for internal tracking (e.g., order ID or invoice number). - Write a human-readable
descriptionfor audit purposes. - Call
POST /balanceTransferwithreferenceanddescriptionalongside required fields. - Log both your
referenceand the returnedpspReferencefor cross-referencing. - Use
createdAtfrom the response to timestamp your records.
3. Fee or Tax Settlement Between Merchants
- Determine the fee or tax amount owed between merchant accounts.
- Set
typetofeeortaxas appropriate. - Set
descriptionto document the fee/tax context (e.g., "Q1 2026 platform fee"). - Call
POST /balanceTransfer. - Confirm the response
statusand archivepspReferencefor financial reporting.
4. Reconciling Balance Transfers
- For each transfer, ensure you captured the
pspReferencefrom the response. - Match
pspReferencevalues against your internal records using thereferencefield you provided. - Verify
createdAttimestamps align with expected transfer dates. - Confirm
amountvalues match expected totals per merchant pair. - Flag any transfers where
statusindicates an unexpected state.
Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints typically return the created/updated object
References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas
Generated from the official API spec by LAP