Put Payment
Register a direct payment on the case
PUT /v1/Cases/{caseGuid}/Payments
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| caseGuid | path | Yes | string |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Request body fields
| Field path | Mandatory | Description |
|---|---|---|
| paymentReference | No | string or null Payment reference string |
| paymentDate | Yes | string <date-time> Payment date |
| accountingDate | No | string <date-time> or null Accounting date for G/L |
| paymentAmount | Yes | number <double> Total paid amount |
| currencyCode | No | string or null The currency the paid payment |
| receivedAmount | No | number <double> or null Received amount in G/L currency |
| exchangeDate | No | string <date-time> or null Date for currency exchange |
| source | No | string or null Information of the origin of the payment |
| specification | No | array of object or null Specification of invoices to pay |
| specification[].invoiceReference | No | string or null Invoice reference |
| specification[].principalAmount | Yes | number <double> Paid principal amount |
| specification[].interestAmount | No | number <double> or null Paid interest amount |
Response fields
HTTP 201
| Field path | Mandatory | Description |
|---|---|---|
| paymentGuid | No | string or null Payment guid |
| paymentReference | No | string or null Payment reference string |
| paymentDate | Yes | string <date-time> Payment date |
| accountingDate | No | string <date-time> or null Accounting date for G/L |
| paymentAmount | Yes | number <double> Total paid amount |
| currencyCode | No | string or null The currency the paid payment |
| receivedAmount | No | number <double> or null Received amount in G/L currency |
| exchangeDate | No | string <date-time> or null Date for currency exchange |
| source | No | string or null Information of the origin of the payment |
HTTP 400
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 401
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 403
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 404
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
HTTP 408
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer <int32> or null |
| detail | string or null |
| instance | string or null |
