The Organization updates a debt position
Changed onThe Organization updates a debt position
Request
- Base URL: https://api.uat.platform.pagopa.it/gpd/debt-positions-service/v3
- URL: https://api.uat.platform.pagopa.it/gpd/debt-positions-service/v3/organizations/{organizationfiscalcode}/debtpositions/{iupd}
- Auth: one of:
- API key in header Ocp-Apim-Subscription-Key
- API key in query parameter subscription-key
Path parameters
Organization fiscal code, the fiscal code of the Organization.
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
Headers
This header identifies the call, if not passed it is self-generated. This ID is returned in the response.
Request body
Example request
{
"payStandIn": true,
"paymentOption": [
{
"debtor": {
"country": "IT",
"email": "email@domain.com"
},
"installments": [
{
"transfer": [
{
"organizationFiscalCode": "00000000000",
"iban": "IT0000000000000000000000000",
"postalIban": "IT0000000000000000000000000",
"stamp": {
"provincialResidence": "RM"
}
}
]
}
]
}
]
}Response
Debt Position updated.
Example response
{
"payStandIn": true,
"paymentOption": [
{
"debtor": {
"country": "IT",
"email": "email@domain.com"
},
"installments": [
{
"transfer": [
{
"organizationFiscalCode": "00000000000",
"iban": "IT0000000000000000000000000",
"postalIban": "IT0000000000000000000000000",
"stamp": {
"provincialResidence": "RM"
}
}
]
}
]
}
]
}Changes
- info
the endpoint scheme security
ApiKeywas removed from the API - info
added the new optional
headerrequest parameterX-Request-Id - info
request body became optional
- info
- breaking
request body became required
- warning
deleted the
headerrequest parameterX-Request-Id - info
the endpoint scheme security
ApiKeywas added to the API - info
added the new optional
headerrequest parameterX-Request-Idto all path's operations - info
the
request property default value changed fromtruetotrue - info
the
request property default value changed fromfalsetofalse - info
the
response's property default value changed fromtruetotruefor the status - info
the
response's property default value changed fromfalsetofalsefor the status
- breaking