Payment proposals
Prepare a payment for a bill, send it for approval, and follow it until the statement confirms it or the bank rejects it.
On this page
List payment proposals
GET /banking/v1/payment-proposals
Parameters
| Name | In | Type | Required | Meaning |
|---|---|---|---|---|
companyId | query | string (uuid) | Yesrequired | The company whose records you want. It is the id of a company in the list of companies. |
status | query | string | Nooptional | Only proposals in this status. One of draft, awaiting_approval, approved, exported, confirmed, rejected_by_bank |
limit | query | integer | Nooptional | Records per page, from 1 to 500. Default 100 Range 1 – 500 |
cursor | query | string | Nooptional | The nextCursor of the previous page. |
Responses
| Status | Meaning | Body |
|---|---|---|
200 | A page of payment proposals. | PaymentProposalPage |
401 | The token is missing, has expired or is not ours. | Error |
403 | The token does not give access to this company or operation. | Error |
404 | The company does not exist in your account. | Error |
429 | There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. | Error |
503 | Treasury cannot answer now. | Error |
Request
curl
curl "$RDC_BASE_URL/banking/v1/payment-proposals?companyId=3e738c06-3df7-4eb7-bfe2-259b8ba481f9&limit=20" \
-H "Authorization: Bearer $RDC_TOKEN" JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/banking/v1/payment-proposals?companyId=3e738c06-3df7-4eb7-bfe2-259b8ba481f9&limit=20`, {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
},
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'GET',
f'{os.environ["RDC_BASE_URL"]}/banking/v1/payment-proposals?companyId=3e738c06-3df7-4eb7-bfe2-259b8ba481f9&limit=20',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
)
result = response.json() PHP
<?php
$curl = curl_init(getenv('RDC_BASE_URL') . '/banking/v1/payment-proposals?companyId=3e738c06-3df7-4eb7-bfe2-259b8ba481f9&limit=20');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl); C#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/banking/v1/payment-proposals?companyId=3e738c06-3df7-4eb7-bfe2-259b8ba481f9&limit=20");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); Response 200
{
"items": [
{
"id": "21de0aa9-20d9-48af-87d7-c24c5a5dde5d",
"number": "PP-1003",
"companyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
"accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
"openItemId": "5beb6141-ccec-4fcf-8482-9b78d03cd1a3",
"billNumber": "BO-2026-0245",
"beneficiary": "Brânzeturi Obcina SRL",
"beneficiaryIban": "RO** **** **** **** **** 0000",
"amount": "7218.65",
"currency": "RON",
"dueOn": "2026-11-30",
"executeOn": "2026-11-27",
"status": "awaiting_approval",
"requiredAuthority": "accountant",
"preparedBy": "Sorin Avram",
"approvals": [],
"declined": null,
"batchId": null,
"bankReason": null,
"revision": 2
},
{
"id": "08315cbe-013e-4a7d-8f68-81c554b8ef67",
"number": "PP-1005",
"companyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
"accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
"openItemId": "1bb5d07f-de37-4422-a979-6c9119745bd9",
"billNumber": "TL-2026-0390",
"beneficiary": "Transbistrița Logistic SRL",
"beneficiaryIban": "RO** **** **** **** **** 0000",
"amount": "13846.00",
"currency": "RON",
"dueOn": "2026-12-04",
"executeOn": "2026-12-04",
"status": "awaiting_approval",
"requiredAuthority": "director",
"preparedBy": "Sorin Avram",
"approvals": [],
"declined": null,
"batchId": null,
"bankReason": null,
"revision": 2
},
{
"id": "cda6be32-1d33-4c24-91e7-e1bbbbbf9cfe",
"number": "PP-1006",
"companyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
"accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
"openItemId": "2e178e7a-7a16-4d77-b94a-36136720c7e5",
"billNumber": "AC-2026-0761",
"beneficiary": "Ambalaje Carpatin SRL",
"beneficiaryIban": "RO** **** **** **** **** 0000",
"amount": "4120.75",
"currency": "RON",
"dueOn": "2026-12-04",
"executeOn": "2026-12-04",
"status": "approved",
"requiredAuthority": "accountant",
"preparedBy": "Sorin Avram",
"approvals": [
{
"by": "Ioana Marin",
"at": "2026-11-23T06:55:00Z"
}
],
"declined": null,
"batchId": null,
"bankReason": null,
"revision": 3
}
],
"nextCursor": null
} Prepare a payment
POST /banking/v1/payment-proposals
Prepares a payment proposal for a bill you received, in the status draft. The amount cannot be more than the bill still owes, the account of the beneficiary must be on file, and a bill has one proposal at a time unless the bank rejected the earlier one.
Request body
| Field | Type | Required | Meaning |
|---|---|---|---|
operationId | string (uuid) | Yesrequired | A UUID you choose for this change. Send it again to repeat the request. |
openItemId | string (uuid) | Yesrequired | The bill to pay. |
accountId | string (uuid) | Yesrequired | The account the payment leaves. |
amount | string | Yesrequired | The amount to pay: at most what the bill still owes. |
preparedById | string (uuid) | Yesrequired | The person who prepares the proposal, one of the people of the account. |
Responses
| Status | Meaning | Body |
|---|---|---|
202 | The change was accepted. The body is the operation result: aggregateId is the record that was created or changed. | OperationResult |
401 | The token is missing, has expired or is not ours. | Error |
403 | The token does not give access to this company or operation. | Error |
404 | open_item_not_found: The invoice or bill does not exist in the ledger of the company. account_not_found: The bank account does not exist in your account. | Error |
409 | The operationId was already used with a different request. | Error |
422 | bill_has_proposal: The bill already has a payment proposal that is not rejected by the bank. amount_exceeds_open: The amount is more than the bill still owes. bill_not_payable: Only a bill you received can be paid. no_beneficiary_account: The account of the beneficiary is not on file, so no payment can be prepared. amount_invalid: The amount is not greater than zero. | Error |
429 | There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. | Error |
503 | Treasury cannot answer now. | Error |
Request
curl
curl -X POST "$RDC_BASE_URL/banking/v1/payment-proposals" \
-H "Authorization: Bearer $RDC_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"operationId": "abc4960b-417a-4be8-ada5-b3592e5cc4af",
"openItemId": "f1499828-8c33-4628-9766-7892ae64f931",
"accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
"amount": "3185.20",
"preparedById": "5e843f89-6c35-4a03-95a4-9f380ce14cd6"
}' JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/banking/v1/payment-proposals`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"operationId": "abc4960b-417a-4be8-ada5-b3592e5cc4af",
"openItemId": "f1499828-8c33-4628-9766-7892ae64f931",
"accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
"amount": "3185.20",
"preparedById": "5e843f89-6c35-4a03-95a4-9f380ce14cd6"
}),
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'POST',
f'{os.environ["RDC_BASE_URL"]}/banking/v1/payment-proposals',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
json={
'operationId': 'abc4960b-417a-4be8-ada5-b3592e5cc4af',
'openItemId': 'f1499828-8c33-4628-9766-7892ae64f931',
'accountId': '258f8664-ff43-4e53-b688-ad5a4a97ede6',
'amount': '3185.20',
'preparedById': '5e843f89-6c35-4a03-95a4-9f380ce14cd6',
},
)
result = response.json() PHP
<?php
$body = <<<'JSON'
{
"operationId": "abc4960b-417a-4be8-ada5-b3592e5cc4af",
"openItemId": "f1499828-8c33-4628-9766-7892ae64f931",
"accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
"amount": "3185.20",
"preparedById": "5e843f89-6c35-4a03-95a4-9f380ce14cd6"
}
JSON;
$curl = curl_init(getenv('RDC_BASE_URL') . '/banking/v1/payment-proposals');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl); C#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/banking/v1/payment-proposals");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
"operationId": "abc4960b-417a-4be8-ada5-b3592e5cc4af",
"openItemId": "f1499828-8c33-4628-9766-7892ae64f931",
"accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
"amount": "3185.20",
"preparedById": "5e843f89-6c35-4a03-95a4-9f380ce14cd6"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); Response 202
{
"operationId": "abc4960b-417a-4be8-ada5-b3592e5cc4af",
"status": "accepted",
"aggregateId": "6baad224-c242-443c-a753-fb096e8c8085",
"aggregateRevision": 1
} Get a payment proposal
GET /banking/v1/payment-proposals/{paymentId}
Parameters
| Name | In | Type | Required | Meaning |
|---|---|---|---|---|
paymentId | path | string (uuid) | Yesrequired | The payment proposal. |
Responses
| Status | Meaning | Body |
|---|---|---|
200 | The proposal with its approvals and its execution day. | PaymentProposal |
401 | The token is missing, has expired or is not ours. | Error |
403 | The token does not give access to this company or operation. | Error |
404 | The payment proposal does not exist. | Error |
429 | There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. | Error |
503 | Treasury cannot answer now. | Error |
Request
curl
curl "$RDC_BASE_URL/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085" \
-H "Authorization: Bearer $RDC_TOKEN" JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085`, {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
},
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'GET',
f'{os.environ["RDC_BASE_URL"]}/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
)
result = response.json() PHP
<?php
$curl = curl_init(getenv('RDC_BASE_URL') . '/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl); C#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); Response 200
{
"id": "6baad224-c242-443c-a753-fb096e8c8085",
"number": "PP-1007",
"companyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
"accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
"openItemId": "f1499828-8c33-4628-9766-7892ae64f931",
"billNumber": "MV-2026-1203",
"beneficiary": "Moara Vadului SRL",
"beneficiaryIban": "RO** **** **** **** **** 0000",
"amount": "3185.20",
"currency": "RON",
"dueOn": "2026-12-08",
"executeOn": "2026-12-08",
"status": "draft",
"requiredAuthority": "accountant",
"preparedBy": "Sorin Avram",
"approvals": [],
"declined": null,
"batchId": null,
"bankReason": null,
"revision": 1
} Send a payment for approval
POST /banking/v1/payment-proposals/{paymentId}/submit
Moves a draft to awaiting_approval. The proposal is approved at the level its amount requires: up to the limit of the account an accountant, above it a director.
Parameters
| Name | In | Type | Required | Meaning |
|---|---|---|---|---|
paymentId | path | string (uuid) | Yesrequired | The payment proposal. |
Request body
| Field | Type | Required | Meaning |
|---|---|---|---|
operationId | string (uuid) | Yesrequired | A UUID you choose for this change. Send it again to repeat the request. |
expectedRevision | integer | Yesrequired | The revision of the payment proposal you read. |
personId | string (uuid) | Yesrequired | The person who makes the change, one of the people of the account. |
Responses
| Status | Meaning | Body |
|---|---|---|
202 | The change was accepted. The body is the operation result: aggregateId is the record that was created or changed. | OperationResult |
401 | The token is missing, has expired or is not ours. | Error |
403 | The token does not give access to this company or operation. | Error |
404 | The payment proposal does not exist. | Error |
409 | revision_conflict: The record changed since the revision you sent. Nothing was applied. operation_reused: The operationId was already used with a different request. | Error |
422 | The payment proposal is not in a status that allows this. | Error |
429 | There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. | Error |
503 | Treasury cannot answer now. | Error |
Request
curl
curl -X POST "$RDC_BASE_URL/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085/submit" \
-H "Authorization: Bearer $RDC_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"operationId": "f9f288f0-3130-4450-8953-4eac286bae70",
"expectedRevision": 1,
"personId": "5e843f89-6c35-4a03-95a4-9f380ce14cd6"
}' JavaScript
const response = await fetch(`${process.env.RDC_BASE_URL}/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085/submit`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.RDC_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"operationId": "f9f288f0-3130-4450-8953-4eac286bae70",
"expectedRevision": 1,
"personId": "5e843f89-6c35-4a03-95a4-9f380ce14cd6"
}),
});
const result = await response.json(); Python
import os
import requests
response = requests.request(
'POST',
f'{os.environ["RDC_BASE_URL"]}/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085/submit',
headers={
'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
},
json={
'operationId': 'f9f288f0-3130-4450-8953-4eac286bae70',
'expectedRevision': 1,
'personId': '5e843f89-6c35-4a03-95a4-9f380ce14cd6',
},
)
result = response.json() PHP
<?php
$body = <<<'JSON'
{
"operationId": "f9f288f0-3130-4450-8953-4eac286bae70",
"expectedRevision": 1,
"personId": "5e843f89-6c35-4a03-95a4-9f380ce14cd6"
}
JSON;
$curl = curl_init(getenv('RDC_BASE_URL') . '/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085/submit');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('RDC_TOKEN'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl); C#
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/banking/v1/payment-proposals/6baad224-c242-443c-a753-fb096e8c8085/submit");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
"operationId": "f9f288f0-3130-4450-8953-4eac286bae70",
"expectedRevision": 1,
"personId": "5e843f89-6c35-4a03-95a4-9f380ce14cd6"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync(); Response 202
{
"operationId": "f9f288f0-3130-4450-8953-4eac286bae70",
"status": "accepted",
"aggregateId": "6baad224-c242-443c-a753-fb096e8c8085",
"aggregateRevision": 2
}