Rimbun Partner API

Introduction

Programmatic contract for financial institutions integrating Rimbun: ingest transactions, read explainable recommendations, and report outcomes.

Base URL https://api.rimbun.co

Partner API key sent as `Authorization: Bearer <api_key>`.

Partner Ingestion

Enqueue async ingestion for a canonical bank statement (partner HMAC)

POST/api/v1/partners/ingestion/statements

Authenticates via HMAC headers documented in docs/guides/partners/PARTNER_INGESTION_SIGNING.md. Returns 202 with a job id; processing happens asynchronously.

Request body

FieldTypeRequired
externalCustomerIdstringYes
customerTypeindividual | businessYes
statementIdstringYes
accountPartnerStatementAccountDtoYes
account.externalAccountIdstringYes
account.institutionIdstringNo
account.institutionNamestringNo
account.accountTypestringNo
account.productNamestringNo
account.accountHolderNamestringNo
account.currencystringYes
statementPartnerStatementSummaryDtoYes
statement.periodStartstring (date)Yes
statement.periodEndstring (date)Yes
statement.openingBalancenumberNo
statement.closingBalancenumberNo
statement.totalCreditsnumberNo
statement.totalDebitsnumberNo
transactionsPartnerStatementTransactionDto[]Yes
transactions[].externalTransactionIdstringNo
transactions[].transactionDatestring (date)Yes
transactions[].postedAtstring (date-time)No
transactions[].valueDatestring (date)No
transactions[].descriptionstringYes
transactions[].amountnumberYes
transactions[].directioncredit | debitYes
transactions[].runningBalancenumberNo
transactions[].currencystringNo
transactions[].counterpartyNamestringNo
transactions[].referencestringNo
transactions[].transactionChannelstringNo
transactions[].transactionStatuspending | posted | reversed | failedNo
provenancePartnerStatementProvenanceDtoNo
provenance.sourceTypebank_api | pdf_extraction | manualYes
provenance.extractionConfidencenumberNo

Responses

202 Accepted

FieldTypeRequired
jobIdstring (uuid)Yes
statusqueuedYes
idempotentbooleanYes

Poll partner ingestion job status

GET/api/v1/partners/ingestion/jobs/{jobId}

Parameters

NameInTypeRequired
jobIdpathstringYes

Responses

200 Job status

FieldTypeRequired
jobIdstring (uuid)No
statusqueued | running | succeeded | failed | deadNo
externalCustomerIdstringNo
statementIdstringNo
idempotencyKeystringNo
attemptCountintegerNo
nextRunAtstring (date-time)No
createdAtstring (date-time)No
updatedAtstring (date-time)No
finishedAtstring (date-time)No
lastErrorstringNo

Partner Recommendations

Get banking product recommendations for a partner customer

GET/api/v1/partners/customers/{customerId}/recommendations

Partner API. Authenticates with `Authorization: Bearer <api_key>`. `customerId` is the partner's customer identifier (same as `providerAccountId` in ingestion). Tenant scope is resolved from the API key.

Parameters

NameInTypeRequired
customerIdpathstringYes
goalIdquerystringNo
productTypequerystringNo
limitquerynumberNo

Responses

200 Successful response

Partner Assessment

Upsert assessment score data for a customer

PUT/api/v1/partners/customers/{customerId}/assessment

Replaces questionnaire capture (`response_groups` / `user_responses`). Stores JSON in `rimbun_tenant.assessment_score`.

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

Responses

200 Successful response

Partner Goals

Create a financial goal for a customer

POST/api/v1/partners/customers/{customerId}/goals

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

Responses

200 Successful response

Update a customer goal

PUT/api/v1/partners/customers/{customerId}/goals/{goalId}

Parameters

NameInTypeRequired
customerIdpathstringYes
goalIdpathstringYes

Request body

Responses

200 Successful response

Soft-delete a customer goal

DELETE/api/v1/partners/customers/{customerId}/goals/{goalId}

Parameters

NameInTypeRequired
customerIdpathstringYes
goalIdpathstringYes

Responses

200 Successful response

Partner Banking Profile

Add an existing banking product to a customer profile

POST/api/v1/partners/customers/{customerId}/banking-profile/products

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

FieldTypeRequired
productExistingProductInputYes
product.productIdstring (uuid)Yes
product.currentBalancenumberNo
product.outstandingBalancenumberNo
product.creditLimitnumberNo
product.loanAmountnumberNo
product.monthlyPaymentnumberNo
product.openedDatestringNo
product.lastUsedDatestringNo
product.metadataobjectNo

Responses

200 Successful response

Update an existing product balance on a customer banking profile

PUT/api/v1/partners/customers/{customerId}/banking-profile/products/{productId}

Parameters

NameInTypeRequired
customerIdpathstringYes
productIdpathstringYes

Request body

FieldTypeRequired
productIdstring (uuid)Yes
currentBalancenumberNo
outstandingBalancenumberNo
creditLimitnumberNo
loanAmountnumberNo
monthlyPaymentnumberNo
lastUsedDatestringNo

Responses

200 Successful response

Remove a product from a customer banking profile

DELETE/api/v1/partners/customers/{customerId}/banking-profile/products/{productId}

Parameters

NameInTypeRequired
customerIdpathstringYes
productIdpathstringYes

Responses

200 Successful response

Partner Economic Profile

Upsert economic profile for a customer

PUT/api/v1/partners/customers/{customerId}/economic-profile

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

Responses

200 Successful response

Partner Product View

Record a product detail view for People Like You insights

POST/api/v1/partners/customers/{customerId}/product-views

Bank sends when a customer views a banking or insurance product. Segment snapshot is derived server-side.

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

Responses

202 Successful response

Partner Insurance Profile

Add an existing insurance policy to a customer profile

POST/api/v1/partners/customers/{customerId}/insurance-profile/products

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

FieldTypeRequired
productIdstringYes
sumAssurednumberNo
premiumMonthlynumberNo
cashValuenumberNo
startDatestringNo

Responses

200 Successful response

Update an insurance policy on a customer profile

PUT/api/v1/partners/customers/{customerId}/insurance-profile/products/{productId}

Parameters

NameInTypeRequired
customerIdpathstringYes
productIdpathstringYes

Request body

FieldTypeRequired
sumAssurednumberNo
premiumMonthlynumberNo
cashValuenumberNo
startDatestringNo

Responses

200 Successful response

Remove an insurance policy from a customer profile

DELETE/api/v1/partners/customers/{customerId}/insurance-profile/products/{productId}

Parameters

NameInTypeRequired
customerIdpathstringYes
productIdpathstringYes

Responses

200 Successful response

Partner Investment Profile

Add an investment position to a customer profile

POST/api/v1/partners/customers/{customerId}/investment-profile/positions

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

FieldTypeRequired
shareClassIdstringYes
currentValuenumberNo
unitsnumberNo
monthlyContributionnumberNo
startDatestringNo

Responses

200 Successful response

Update an investment position on a customer profile

PUT/api/v1/partners/customers/{customerId}/investment-profile/positions/{shareClassId}

Parameters

NameInTypeRequired
customerIdpathstringYes
shareClassIdpathstringYes

Request body

FieldTypeRequired
currentValuenumberNo
unitsnumberNo
monthlyContributionnumberNo
startDatestringNo

Responses

200 Successful response

Remove an investment position from a customer profile

DELETE/api/v1/partners/customers/{customerId}/investment-profile/positions/{shareClassId}

Parameters

NameInTypeRequired
customerIdpathstringYes
shareClassIdpathstringYes

Responses

200 Successful response

Partner Business Profile

Create or update a business profile for a business customer

PUT/api/v1/partners/customers/{customerId}/business-profile

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

FieldTypeRequired
legalNamestringYes
tradingNamestringNo
registrationNumberstringNo
legalFormstringNo
industryCodestringNo
industryLabelstringNo
incorporationDatestringNo
countryCodestringNo
baseCurrencystringYes
fiscalYearEndMonthintegerNo
employeeBandstringNo
annualRevenueBandstringNo
metadataobjectNo

Responses

200 Successful response

Administrative correction of customer type (explicit only)

PUT/api/v1/partners/customers/{customerId}/customer-type

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

FieldTypeRequired
customerTypeindividual | businessYes

Responses

200 Successful response

Partner Business Domain

Receivables

GET/api/v1/partners/customers/{customerId}/receivables

Parameters

NameInTypeRequired
customerIdpathstringYes

Responses

200 Successful response

Upsert receivable

POST/api/v1/partners/customers/{customerId}/receivables

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

FieldTypeRequired
externalIdstringNo
counterpartyIdstringNo
issueDatestringNo
dueDatestringNo
originalAmountnumberYes
outstandingAmountnumberYes
currencystringYes
statusstringNo
expectedPaymentDatestringNo
sourcestringNo
metadataobjectNo

Responses

200 Successful response

Obligations

GET/api/v1/partners/customers/{customerId}/obligations

Parameters

NameInTypeRequired
customerIdpathstringYes

Responses

200 Successful response

Upsert obligation

POST/api/v1/partners/customers/{customerId}/obligations

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

FieldTypeRequired
externalIdstringNo
obligationTypestringYes
counterpartyIdstringNo
dueDatestringNo
amountnumberYes
currencystringYes
recurrencestringNo
paymentFlexibilityfixed | negotiable | unknownNo
statusstringNo
sourcestringNo
metadataobjectNo

Responses

200 Successful response

Facilities

GET/api/v1/partners/customers/{customerId}/facilities

Parameters

NameInTypeRequired
customerIdpathstringYes

Responses

200 Successful response

Upsert facility

POST/api/v1/partners/customers/{customerId}/facilities

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

FieldTypeRequired
externalIdstringNo
facilityTypestringYes
lenderNamestringNo
originalAmountnumberNo
outstandingPrincipalnumberNo
limitAmountnumberNo
availableAmountnumberNo
currencystringYes
interestRepresentationstringNo
startDatestringNo
maturityDatestringNo
repaymentFrequencystringNo
statusstringNo
sourcestringNo
metadataobjectNo
schedulesUpsertFinancingScheduleDto[]No
schedules[].dueDatestringYes
schedules[].amountnumberYes
schedules[].currencystringYes
schedules[].paymentTypestringNo
schedules[].statusstringNo
schedules[].metadataobjectNo

Responses

200 Successful response

Plan events

GET/api/v1/partners/customers/{customerId}/plan-events

Parameters

NameInTypeRequired
customerIdpathstringYes

Responses

200 Successful response

Upsert plan event

POST/api/v1/partners/customers/{customerId}/plan-events

Parameters

NameInTypeRequired
customerIdpathstringYes

Request body

FieldTypeRequired
externalIdstringNo
eventTypestringYes
titlestringYes
expectedDatestringNo
expectedEndDatestringNo
amountnumberNo
currencystringNo
recurrencestringNo
confidencenumberNo
scenariostringNo
statusstringNo
sourcestringNo
metadataobjectNo

Responses

200 Successful response