Posting Banks
Less than to read
Overview
To register a third-party financial institution with Sage’s Banking Service, use the POST /banks
endpoint in the Sage Partner API (PAPI). This endpoint is the primary method to register banks in both Sandbox (SBX) and Production (PROD) environments.
Key Endpoint: POST /banks
Sandbox (SBX)
- Use
POST /banks
to create test banks for development and testing purposes.
Production (PROD)
- Use
POST /banks
to submit banks for production beta enrollment. - Provide the following fields to your enablement engineer to enable the bank in production (pending PM approval):
- BankName: The name of the connection (e.g., “Adele’s Bank (Powered by Sage)”).
- principal_id: Your Sage-assigned BankID (UUID).
- external_reference: Also known as AggregatorId (UUID) for tracking.
Once submitted, the request will be escalated internally, and if approved the connection will be visible in the product.
POST /banks
The /banks
endpoint allows you to push bank documents into the Banking Service. Use this endpoint to manage bank registrations, updates, and removals.
The following fields are supported in the request body:
Field | Description |
---|---|
toCreate |
Array of objects to create new banks. Refer to the API specification for details. |
toUpdate |
Array of objects to update existing banks. Refer to the API specification for details. |
toRemove |
Array of objects to remove banks. Refer to the API specification for details. |
For detailed field descriptions and examples, refer to the API specification and the Postman collection.
</div>
Storing and Using principalID
and externalRef
Creating a New Bank
- POST /banks:
- Send a request with the bank details.
- Store the
principalID
from the response. - Store the
externalRef
provided by the aggregator.
Updating an Existing Bank
- GET /banks:
- Retrieve the
_id
(used asprincipalID
).
- Retrieve the
- PUT /banks/{principalID}:
- Send a request with updated details and the
externalRef
(aggregator ID).
- Send a request with updated details and the
Additional Notes
- Postman Collection: Use the PAPI Postman collection provided to test
/banks
calls in SBX, includingtoCreate
,toUpdate
, andtoRemove
. Postman Collection Link - Deleting Banks: Use
toRemove
only in SBX. This option is not available in PROD. Contact support if you need to remove any connections. - Storage: For each bank created, store the
principalID
andexternalRef
on your end.
What’s Next?
After completing your sandbox testing, you are ready to move into production. Learn how to upgrade to beta in Stage 4: Go Live and Support.