POST api/AsaasWebHookCobSandbox
Request Information
URI Parameters
None.
Body Parameters
WebHookCobrancasAsaasName | Description | Type | Additional information |
---|---|---|---|
event | string |
None. |
|
payment | PaymentAsaas |
None. |
Request Formats
application/json, text/json
Sample:
{ "event": "sample string 1", "payment": { "object": "sample string 1", "id": "sample string 2", "dateCreated": "sample string 3", "customer": "sample string 4", "subscription": "sample string 5", "installment": "sample string 6", "paymentLink": "sample string 7", "dueDate": "sample string 8", "originalDueDate": "sample string 9", "value": 10, "netValue": 11.1, "originalValue": {}, "interestValue": {}, "description": "sample string 14", "externalReference": "sample string 15", "billingType": "sample string 16", "status": "sample string 17", "pixTransaction": {}, "confirmedDate": "sample string 19", "paymentDate": "sample string 20", "clientPaymentDate": "sample string 21", "installmentNumber": {}, "creditDate": "sample string 23", "estimatedCreditDate": "sample string 24", "invoiceUrl": "sample string 25", "bankSlipUrl": {}, "transactionReceiptUrl": "sample string 27", "invoiceNumber": "sample string 28", "deleted": true, "anticipated": true, "lastInvoiceViewedDate": "sample string 31", "lastBankSlipViewedDate": {}, "postalService": true, "creditCard": { "creditCardNumber": "sample string 1", "creditCardBrand": "sample string 2", "creditCardToken": "sample string 3" }, "discount": { "value": 1.1, "dueDateLimitDays": 2, "type": "sample string 3" }, "fine": { "value": 1.1, "type": "sample string 2" }, "interest": { "value": 1.1, "type": "sample string 2" }, "split": [ { "walletId": "sample string 1", "fixedValue": 2, "percentualValue": 1 }, { "walletId": "sample string 1", "fixedValue": 2, "percentualValue": 1 } ], "chargeback": { "status": "sample string 1", "reason": "sample string 2" }, "refunds": {} } }
application/xml, text/xml
Sample:
<WebHookCobrancasAsaas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models"> <event>sample string 1</event> <payment> <anticipated>true</anticipated> <bankSlipUrl /> <billingType>sample string 16</billingType> <chargeback> <reason>sample string 2</reason> <status>sample string 1</status> </chargeback> <clientPaymentDate>sample string 21</clientPaymentDate> <confirmedDate>sample string 19</confirmedDate> <creditCard> <creditCardBrand>sample string 2</creditCardBrand> <creditCardNumber>sample string 1</creditCardNumber> <creditCardToken>sample string 3</creditCardToken> </creditCard> <creditDate>sample string 23</creditDate> <customer>sample string 4</customer> <dateCreated>sample string 3</dateCreated> <deleted>true</deleted> <description>sample string 14</description> <discount> <dueDateLimitDays>2</dueDateLimitDays> <type>sample string 3</type> <value>1.1</value> </discount> <dueDate>sample string 8</dueDate> <estimatedCreditDate>sample string 24</estimatedCreditDate> <externalReference>sample string 15</externalReference> <fine> <type>sample string 2</type> <value>1.1</value> </fine> <id>sample string 2</id> <installment>sample string 6</installment> <installmentNumber /> <interest> <type>sample string 2</type> <value>1.1</value> </interest> <interestValue /> <invoiceNumber>sample string 28</invoiceNumber> <invoiceUrl>sample string 25</invoiceUrl> <lastBankSlipViewedDate /> <lastInvoiceViewedDate>sample string 31</lastInvoiceViewedDate> <netValue>11.1</netValue> <object>sample string 1</object> <originalDueDate>sample string 9</originalDueDate> <originalValue /> <paymentDate>sample string 20</paymentDate> <paymentLink>sample string 7</paymentLink> <pixTransaction /> <postalService>true</postalService> <refunds /> <split> <SplitAsaas> <fixedValue>2</fixedValue> <percentualValue>1</percentualValue> <walletId>sample string 1</walletId> </SplitAsaas> <SplitAsaas> <fixedValue>2</fixedValue> <percentualValue>1</percentualValue> <walletId>sample string 1</walletId> </SplitAsaas> </split> <status>sample string 17</status> <subscription>sample string 5</subscription> <transactionReceiptUrl>sample string 27</transactionReceiptUrl> <value>10</value> </payment> </WebHookCobrancasAsaas>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.