Skip to main content
POST
/
api
/
reconciliation
/
policies
/
{policyID}
/
reconciliation
Reconcile using a policy
curl --request POST \
  --url http://localhost/api/reconciliation/policies/{policyID}/reconciliation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reconciledAtLedger": "2021-01-01T00:00:00.000Z",
  "reconciledAtPayments": "2021-01-01T00:00:00.000Z"
}
'
{
  "data": {
    "id": "XXX",
    "policyID": "XXX",
    "createdAt": "2021-01-01T00:00:00.000Z",
    "reconciledAtLedger": "2021-01-01T00:00:00.000Z",
    "reconciledAtPayments": "2021-01-01T00:00:00.000Z",
    "status": "COMPLETED",
    "paymentsBalances": {},
    "ledgerBalances": {},
    "driftBalances": {},
    "error": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.formance.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

policyID
string
required

The policy ID.

Body

application/json
reconciledAtLedger
string<date-time>
required
Example:

"2021-01-01T00:00:00.000Z"

reconciledAtPayments
string<date-time>
required
Example:

"2021-01-01T00:00:00.000Z"

Response

OK

data
object
required