Post Invoice Payment
### Post Invoice Payment
This API allows you to make an HTTP POST request to submit a payment for an invoice.
### Request Body
The request should include the following parameters in the raw request body:
| Param | Required | Type | Description |
| --- | --- | --- | --- |
| invoiceId | Mandatory | String | The ID of the invoice for which the payment is being submitted. |
| amount | Mandatory | Number | The amount of the payment. |
| utr | Mandatory | String | The Unique Transaction Reference for the payment. |
| payment_doc | Mandatory | String | The document related to the payment. |
| data | Mandatory | Object | Additional data related to the payment. |
### Response
Upon successful execution, the API will return a status code of 200 and a JSON response with a `success` key indicating whether the payment submission was successful.
### Example Response
``` json
{
"success": true
}
```
Headers
DICE-APP-ID
Company Code of client
X-CLIENT-ID
API Client ID
X-CLIENT-SECRET
API Client Secret
Request
This endpoint expects an object.
invoiceId
amount
utr
payment_doc
data
Response
OK
success

