- Settles transactions
POST {{baseURL}}/pay-api/v1/transactions/settle
This endpoint settles, or completes, a transaction.
A settlement transaction is the step in the payment process when an authorized transaction is finalized. The funds are transferred to the merchant's acquiring bank.
See Also:
To capture a transaction, see POST /pay-api/v1/transactions/capture.
To create a transaction, see POST /pay-api/v1/transactions/sale.
To list transactions, see GET /pay-api/v1/transactions.
Specifies the payment processor identifier.
A list of available payment processers can be found with GET {{baseURL}}/pay-api/v1/configurations/payments. See response availablePaymentProcessors.id.
Example: 8f5a4c27-71c4-4b5d-944e-8bb457594d86
- Mock serverhttps://developer.flute.com/_mock/api-reference/pay-api/v1/transactions/settle
- Sandbox environmenthttps://sandbox.api.flute.com/pay-api/v1/transactions/settle
- Production environmenthttps://api.flute.com/pay-api/v1/transactions/settle
Submits the open batch for a card processor.
All captured transactions in the batch are sent for settlement.
POST /pay-api/v1/transactions/settle HTTP/1.1
Host: sandbox.api.flute.com
Authorization: Bearer <YOUR_JWT_HERE>
Accept: application/json
Content-Type: application/json
{
"paymentProcessorId": "64aa4643-2c62-45fa-9554-3a69833114e9"
}OK
A vendor independent response code.
Valid values are:
| Value | Name | Description |
|---|---|---|
| 0 | Approve | Operation fully or partially approved. |
| 1 | Decline | Operation declined. |
| 2 | Error | Something prevents to complete the operation. Request format is wrong, or system error, or any other reason that prevented normal processing. |
Example: 0
The processor accepts the batch.
code is 0 (Approve).
{ "code": 0, "message": "Batch submitted for settlement", "processorResponseCode": "00" }