Debt Positions API
The Organization updates a debt position
put/organizations/{organizationfiscalcode}/debtpositions/{iupd}
Path parameters
organizationfiscalcodestring required
Organization fiscal code, the fiscal code of the Organization.
iupdstring required
IUPD (Unique identifier of the debt position). Format could be <Organization fiscal code + UUID> this would make it unique within the new PD management system. It's the responsibility of the EC to guarantee uniqueness. The pagoPa system shall verify that this is true and if not, notify the EC.
Query parameters
toPublishboolean
Request body
Example request
{
"payStandIn": true,
"country": "IT",
"email": "email@domain.com",
"paymentOption": [
{
"transfer": [
{
"organizationFiscalCode": "00000000000",
"iban": "IT0000000000000000000000000",
"postalIban": "IT0000000000000000000000000",
"stamp": {
"provincialResidence": "RM"
}
}
]
}
]
}Response
Debt Position updated.
Example response
{
"payStandIn": true,
"country": "IT",
"email": "email@domain.com",
"paymentOption": [
{
"transfer": [
{
"organizationFiscalCode": "00000000000",
"iban": "IT0000000000000000000000000",
"postalIban": "IT0000000000000000000000000",
"stamp": {
"provincialResidence": "RM"
}
}
]
}
]
}