cURL
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" } }
Create a policy
The access token received from the authorization server in the OAuth 2.0 flow.
OK
The response is of type object.
object