Settlement Transactions

//A code snippet of how to consume the API

var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Authorization", "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2RlbW8ubW9uaWNyZWRpdC5jb20vYXBpL3YxL2NvcmUvYXV0aC9sb2dpbiIsImlhdCI6MTY2ODk2NzQ0MywiZXhwIjoxNjY4OTcxMDQzLCJuYmYiOjE2Njg5Njc0NDMsImp0aSI6ImF0UE9GVHE4cU4yN2lBWlciLCJzdWIiOiJVU0FETUlOIiwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.shrbQUV29vXRF30qMeBN3zxlc5JXd03QyMeD6ekzudU");

var raw = "";

var requestOptions = {
  method: 'GET',
  headers: myHeaders,
  body: raw,
  redirect: 'follow'
};

fetch("http://demo.monicredit2.test//payment/transactions/settlement-transactions", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

GET {{BaseURL}}/payment/transactions/settlement-transactions

Query Parameters

NameTypeDescription

settlement_id

String

S00000000

revenue_head_id

String

REV000000

search

String

name

settlement_bank_id

String

SB0000000

Headers

NameTypeDescription

Authorization*

String

{{bearer_toke}}

{
    "data": [
        {
            "id": 00
            "amount": 00,
            "status": "PENDING",
            "channel": "CARD",
            "charges": 000,
            "customer": {
                "id": "CUS0000",
                "first_name": "Rodrigo",
                "last_name": "Greenholt",
                "full_name": "Rodrigo Greenholt",
                "phone": "0000",
                "email": "test@test.com",
                "merchant": null,
                "created_at": "2022-06-27T14:36:47.000000Z"
            },
            "date_paid": "2022-06-27 15:36:57",
            "auto_id": null,
            "transaction_id": ACX000,
            "order_id": "ORD00000",
            "settlement": 0,
            "merchant_id": "TEST",
            "revenue_head_id": "REV000000",
            "reconcilation": "TRUE",
            "invoice_amount": 0000,
            "transaction_type": "BULK",
            "meta_data": null,
            "vbank_data": null,
            "used": null,
            "amount_paid": 00000,
            "items": "[{\"revenue_head_code\":\"REV000000\",\"name\":\"maiores\",\"unit_cost\":00000,\"split_details\":[{\"sub_account_code\":\"SB000000\",\"fee_percentage\":100,\"fee_flat\":0}]},{\"revenue_head_code\":\"REV00000000\",\"name\":\"quia\",\"unit_cost\":000,\"split_details\":[{\"sub_account_code\":\"SB000000\",\"fee_percentage\":000,\"fee_flat\":0}]}]"
        }
    ],
    "links": {
        "first": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=1",
        "last": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=100",
        "prev": null,
        "next": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 100,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=3",
                "label": "3",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=4",
                "label": "4",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=5",
                "label": "5",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=6",
                "label": "6",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=7",
                "label": "7",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=8",
                "label": "8",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=9",
                "label": "9",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=10",
                "label": "10",
                "active": false
            },
            {
                "url": null,
                "label": "...",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=99",
                "label": "99",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=100",
                "label": "100",
                "active": false
            },
            {
                "url": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions?page=2",
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://demo.monicredit2.test/api/v1/payment/transactions/settlement-transactions",
        "per_page": 10,
        "to": 10,
        "total": 1000
    }
}

Last updated