v1
latestOpenAPI 3.1.02026-07-24180245513.9 KBExpected Payments
Update expected payment
Update an expected payment
post/expected_payments/{id}
Path parameters
idstring required
ID of the expected payment
Request body
Example request
{
"amount_from": 2000,
"amount_to": 3000,
"start_date": "2022-01-05",
"end_date": "2022-01-05",
"counterparty_account": {
"account_number": "FR7601234567890627967100010",
"holder_name": "PartnerCo"
},
"external_account": {
"account_number": "FR7601234567890627967100010",
"holder_name": "PartnerCo"
},
"metadata": {
"property_a": true,
"property_b": "some label"
},
"virtual_account_number": "FR4217569000705838477329D20",
"internal_account_number": "FR4217569000705838477329D20"
}Response
200
Example response
{
"id": "2086dfa8-2640-43ff-9144-e73bab721832",
"idempotency_key": "8A2gcC",
"object": "expected_payment",
"direction": "credit",
"amount_from": 2000,
"amount_to": 3000,
"currency": "EUR",
"start_date": "2022-01-05",
"end_date": "2022-01-05",
"connected_account_id": "254e3100-afd6-44f2-8084-87e8ae67b554",
"counterparty_account": {
"account_number": "FR7601234567890627967100010",
"holder_name": "PartnerCo"
},
"external_account": {
"account_number": "FR7601234567890627967100010",
"holder_name": "PartnerCo"
},
"internal_account": {
"account_number": "FR8414508000704858926265I89",
"name": "Expenses account",
"type": "virtual"
},
"reconciliation_status": "reconciled",
"reconciled_amount": 2000,
"metadata": {
"property_a": true,
"property_b": "some label"
},
"virtual_account_number": "FR4217569000705838477329D20",
"created_at": "2022-01-03T11:53:19.734182Z",
"canceled_at": "2022-01-03T15:12:20.644356Z"
}