POST
/
api
/
reconciliation
/
policies
curl --request POST \
  --url http://localhost:55001/api/reconciliation/policies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "XXX",
  "ledgerName": "default",
  "ledgerQuery": {},
  "paymentsPoolID": "XXX"
}'
{
  "data": {
    "id": "XXX",
    "name": "XXX",
    "createdAt": "2021-01-01T00:00:00.000Z",
    "ledgerName": "default",
    "ledgerQuery": {},
    "paymentsPoolID": "XXX"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

OK

The response is of type object.