Follow the question structure recommended by Dev Bot before submitting your integration questions.
| Parameter | Type | Required | Description |
|---|---|---|---|
| idReceivable | int32 | Yes | ID of the receivable to be charged. |
| idMember | int32 | Yes | ID of the member holding the credit card that will make the payment. |
| idBranch | int32 | Yes | ID of the member's branch. |
| idCreditCard | int32 | Yes | ID of the credit card. |
| amount | int32 | Yes | Amount to charge. Must be equal to or greater than the outstanding balance. If greater, the excess is generated as credit in the member's account. |
| Field | Type | Description |
|---|---|---|
| success | boolean | Indicates whether the operation was successful. |
| idSale | int32 | ID of the sale. |
| receiptWidth | int32 | Width of the receipt. |
| receipt | string | Receipt. |
username:passwordAuthorization: Basic *****************{
"idReceivable": 0,
"idMember": 0,
"idBranch": 0,
"idCreditCard": 0,
"amount": 0
}curl --location 'https://evo-integracao-api.w12app.com.br/api/v1/receivables/charge' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json-patch+json' \
--data '{
"idReceivable": 0,
"idMember": 0,
"idBranch": 0,
"idCreditCard": 0,
"amount": 0
}'{
"success": true,
"idSale": 0,
"receiptWidth": 0,
"receipt": "string"
}