Snapshot verified branch settlement account for a settlement statement
POST
/branch-settlement-account-statement-snapshots
const url = 'https://example.com/branch-settlement-account-statement-snapshots';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"snapshotId":"example","settlementStatementId":"example","branchOfficeProfileId":"example","settlementAccountId":"example","expectedSettlementAccountRevision":1,"idempotencyKey":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/branch-settlement-account-statement-snapshots \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "snapshotId": "example", "settlementStatementId": "example", "branchOfficeProfileId": "example", "settlementAccountId": "example", "expectedSettlementAccountRevision": 1, "idempotencyKey": "example" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
SnapshotBranchSettlementAccountForStatementRequest
object
snapshotId
required
string
settlementStatementId
required
string
branchOfficeProfileId
required
string
settlementAccountId
required
string
expectedSettlementAccountRevision
required
integer
idempotencyKey
required
string
key
additional properties
Responses
Section titled “Responses”Immutable branch settlement account snapshot captured for statement
Media typeapplication/json
BranchSettlementAccountStatementSnapshotResponse
object
snapshotId
required
string
settlementStatementId
required
string
branchOfficeProfileId
required
string
branchOfficeProfileRevision
required
integer
settlementAccountId
required
string
settlementAccountRevision
required
integer
purpose
required
string
bankName
required
string
accountHolder
required
string
maskedAccountReference
required
string
verificationState
required
string
effectiveFrom
required
string format: date
effectiveUntil
required
string | null format: date
snapshotForStatementAt
required
string format: date-time
snapshotForStatementByActorId
required
string
idempotencyKey
required
string
key
additional properties
Supabase bearer token is required
Actor cannot settle for the branch
Settlement account revision is stale or idempotency key conflicts
Branch office profile store is unavailable