POST api/PixPayment/Post
Request Information
URI Parameters
None.
Body Parameters
PixPaymentDto| Name | Description | Type | Additional information |
|---|---|---|---|
| key | integer |
None. |
|
| id | integer |
None. |
|
| isNew | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"key": 1,
"id": 1,
"isNew": true
}
application/xml, text/xml
Sample:
<PixPaymentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OffDriver.Webapi.Models.Payment"> <isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew> <key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">1</key> </PixPaymentDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PixDto| Name | Description | Type | Additional information |
|---|---|---|---|
| qrCodeBase64 | string |
None. |
|
| copyPasteCode | string |
None. |
|
| value | decimal number |
None. |
|
| expirationDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"qrCodeBase64": "sample string 1",
"copyPasteCode": "sample string 2",
"value": 3.0,
"expirationDate": "2025-12-22T05:44:42.5315625-03:00"
}
application/xml, text/xml
Sample:
<PixDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OffDriver.Entities.Dto.Payment"> <copyPasteCode>sample string 2</copyPasteCode> <expirationDate>2025-12-22T05:44:42.5315625-03:00</expirationDate> <qrCodeBase64>sample string 1</qrCodeBase64> <value>3</value> </PixDto>