Payer



Endpoint


Method Description URI
GET Get all paid direct pay /api/v2/collections/{collectionId}/directPayPayers
GET Show Detail Paid Direct Pay /api/v2/collections/{collectionId}/directPayPayers/{ID}


Required Headers


Key Value
Accept application/json
Content-Type application/json
Authorization Bearer {ACCESS-TOKEN}


Get All Paid Direct Pay


Parameters


Method URI
GET /api/v2/collections/{collectionId}/directPayPayers

{success} Success code : 200

Response


{
    "success": true,
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 69,
                "collection_id": 51,
                "title": "satay",
                "description": "payment for satay",
                "amount": 10.0,
                "account_id": 417,
                "ref1": null,
                "ref2": null,
                "api_redirect": 0,
                "created_at": "2020-02-28 03:37:31",
                "updated_at": "2020-02-28 03:38:06",
                "quantity": null,
                "currency": "MYR",
                "reference": null,
                "direct_pay_no": "0O0y0zbd",
                "direct_pay_url": null,
                "total_direct_pay": "10.00",
                "collection": {
                    "id": 51,
                    "code": "NoADJKD1",
                    "name": "abc",
                    "organization_id": 1,
                    "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "created_at": "2019-08-07 05:47:53",
                    "updated_at": "2020-06-04 05:32:52"
                }
            },
            {
                "id": 80,
                "collection_id": 51,
                "title": "satay",
                "description": "payment for satay",
                "amount": 10.0,
                "account_id": 151,
                "ref1": null,
                "ref2": null,
                "api_redirect": 0,
                "created_at": "2020-05-12 07:22:46",
                "updated_at": "2020-05-12 07:23:28",
                "quantity": null,
                "currency": "MYR",
                "reference": null,
                "direct_pay_no": "9IxK97YB",
                "direct_pay_url": null,
                "total_direct_pay": "10.00",
                "collection": {
                    "id": 51,
                    "code": "NoADJKD1",
                    "name": "abc",
                    "organization_id": 1,
                    "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "created_at": "2019-08-07 05:47:53",
                    "updated_at": "2020-06-04 05:32:52"
                }
            },
            {
                "id": 87,
                "collection_id": 51,
                "title": "test",
                "description": "ttest",
                "amount": 5.0,
                "account_id": 151,
                "ref1": null,
                "ref2": null,
                "api_redirect": 0,
                "created_at": "2020-05-14 02:09:13",
                "updated_at": "2020-05-14 02:09:29",
                "quantity": null,
                "currency": "MYR",
                "reference": null,
                "direct_pay_no": "5QtBtbD5",
                "direct_pay_url": null,
                "total_direct_pay": "5.00",
                "collection": {
                    "id": 51,
                    "code": "NoADJKD1",
                    "name": "abc",
                    "organization_id": 1,
                    "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "created_at": "2019-08-07 05:47:53",
                    "updated_at": "2020-06-04 05:32:52"
                }
            },
            {
                "id": 111,
                "collection_id": 51,
                "title": "test",
                "description": "ttest",
                "amount": 5.0,
                "account_id": 151,
                "ref1": null,
                "ref2": null,
                "api_redirect": 0,
                "created_at": "2020-05-14 02:59:57",
                "updated_at": "2020-05-14 03:00:09",
                "quantity": null,
                "currency": "MYR",
                "reference": null,
                "direct_pay_no": "nHLY6BHM",
                "direct_pay_url": null,
                "total_direct_pay": "5.00",
                "collection": {
                    "id": 51,
                    "code": "NoADJKD1",
                    "name": "abc",
                    "organization_id": 1,
                    "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "created_at": "2019-08-07 05:47:53",
                    "updated_at": "2020-06-04 05:32:52"
                }
            },
            {
                "id": 113,
                "collection_id": 51,
                "title": "test",
                "description": "Terima Kasih atas sumbangan anda, sumbangan anda akan di salurkan kedalam akaun Bank Islam Masjid Batang Tiga Melaka bernombor akaun 8603342207",
                "amount": 5.0,
                "account_id": 151,
                "ref1": null,
                "ref2": null,
                "api_redirect": 0,
                "created_at": "2020-05-14 03:07:52",
                "updated_at": "2020-05-14 03:08:20",
                "quantity": null,
                "currency": "MYR",
                "reference": null,
                "direct_pay_no": "cjwNUO8G",
                "direct_pay_url": null,
                "total_direct_pay": "5.00",
                "collection": {
                    "id": 51,
                    "code": "NoADJKD1",
                    "name": "abc",
                    "organization_id": 1,
                    "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "created_at": "2019-08-07 05:47:53",
                    "updated_at": "2020-06-04 05:32:52"
                }
            },
            {
                "id": 114,
                "collection_id": 51,
                "title": "test",
                "description": "Terima Kasih atas sumbangan anda, sumbangan anda akan di salurkan kedalam akaun Bank Islam Masjid Batang Tiga Melaka bernombor akaun 8603342207",
                "amount": 5.0,
                "account_id": 151,
                "ref1": null,
                "ref2": null,
                "api_redirect": 0,
                "created_at": "2020-05-14 03:11:32",
                "updated_at": "2020-05-14 03:11:53",
                "quantity": null,
                "currency": "MYR",
                "reference": null,
                "direct_pay_no": "0cfNlHwv",
                "direct_pay_url": null,
                "total_direct_pay": "5.00",
                "collection": {
                    "id": 51,
                    "code": "NoADJKD1",
                    "name": "abc",
                    "organization_id": 1,
                    "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "created_at": "2019-08-07 05:47:53",
                    "updated_at": "2020-06-04 05:32:52"
                }
            },
            {
                "id": 152,
                "collection_id": 51,
                "title": "test",
                "description": "Terima Kasih atas sumbangan anda, sumbangan anda akan di salurkan kedalam akaun Bank Islam Masjid Batang Tiga Melaka bernombor akaun 8603342207",
                "amount": 5.0,
                "account_id": 151,
                "ref1": null,
                "ref2": null,
                "api_redirect": 0,
                "created_at": "2020-05-19 03:17:53",
                "updated_at": "2020-05-19 03:28:46",
                "quantity": null,
                "currency": "MYR",
                "reference": null,
                "direct_pay_no": "XKU2L0Yt",
                "direct_pay_url": null,
                "total_direct_pay": "5.00",
                "collection": {
                    "id": 51,
                    "code": "NoADJKD1",
                    "name": "abc",
                    "organization_id": 1,
                    "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "created_at": "2019-08-07 05:47:53",
                    "updated_at": "2020-06-04 05:32:52"
                }
            },
            {
                "id": 153,
                "collection_id": 51,
                "title": "test",
                "description": "Terima Kasih atas sumbangan anda, sumbangan anda akan di salurkan kedalam akaun Bank Islam Masjid Batang Tiga Melaka bernombor akaun 8603342207",
                "amount": 5.0,
                "account_id": 151,
                "ref1": null,
                "ref2": null,
                "api_redirect": 0,
                "created_at": "2020-05-19 04:01:39",
                "updated_at": "2020-05-19 04:01:56",
                "quantity": null,
                "currency": "MYR",
                "reference": null,
                "direct_pay_no": "6ul4oRWZ",
                "direct_pay_url": null,
                "total_direct_pay": "5.00",
                "collection": {
                    "id": 51,
                    "code": "NoADJKD1",
                    "name": "abc",
                    "organization_id": 1,
                    "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "created_at": "2019-08-07 05:47:53",
                    "updated_at": "2020-06-04 05:32:52"
                }
            },
            {
                "id": 156,
                "collection_id": 51,
                "title": "test",
                "description": "Terima Kasih atas sumbangan anda, sumbangan anda akan di salurkan kedalam akaun Bank Islam Masjid Batang Tiga Melaka bernombor akaun 8603342207",
                "amount": 5.0,
                "account_id": 151,
                "ref1": null,
                "ref2": null,
                "api_redirect": 0,
                "created_at": "2020-05-19 04:19:12",
                "updated_at": "2020-05-19 04:19:32",
                "quantity": null,
                "currency": "MYR",
                "reference": null,
                "direct_pay_no": "d22Yqb58",
                "direct_pay_url": null,
                "total_direct_pay": "5.00",
                "collection": {
                    "id": 51,
                    "code": "NoADJKD1",
                    "name": "abc",
                    "organization_id": 1,
                    "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
                    "created_at": "2019-08-07 05:47:53",
                    "updated_at": "2020-06-04 05:32:52"
                }
            }
        ],
        "first_page_url": "http://raudhahpay_api.test/api/v2/collections/NoADJKD1/directPayPayers?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://raudhahpay_api.test/api/v2/collections/NoADJKD1/directPayPayers?page=1",
        "next_page_url": null,
        "path": "http://raudhahpay_api.test/api/v2/collections/NoADJKD1/directPayPayers",
        "per_page": 15,
        "prev_page_url": null,
        "to": 9,
        "total": 9
    },
    "errors": null,
    "meta": {
        "timestamp": "2020-06-26 13:22:23 UTC",
        "timezone": "UTC"
    }
}

{danger} For Error Reference, Related guide: Errors


Show Detail Paid Quick Pay Payer

Parameters


Method URI
GET /api/v2/collections/{collectionId}/directPayPayers/{ID}


{success} Success code : 200

Response


{
    "success": true,
    "data": {
        "id": 156,
        "collection_id": 51,
        "title": "test",
        "description": "Terima Kasih atas sumbangan anda, sumbangan anda akan di salurkan kedalam akaun Bank Islam Masjid Batang Tiga Melaka bernombor akaun 8603342207",
        "amount": 5.0,
        "account_id": 151,
        "ref1": null,
        "ref2": null,
        "api_redirect": 0,
        "created_at": "2020-05-19 04:19:12",
        "updated_at": "2020-05-19 04:19:32",
        "quantity": null,
        "currency": "MYR",
        "reference": null,
        "direct_pay_no": "d22Yqb58",
        "direct_pay_url": null,
        "total_direct_pay": "5.00",
        "collection": {
            "id": 51,
            "code": "NoADJKD1",
            "name": "abc",
            "organization_id": 1,
            "webhook_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
            "redirect_url": "https://www.jombmf.com/wc-api/WC_Raudhahpay_Gateway",
            "created_at": "2019-08-07 05:47:53",
            "updated_at": "2020-06-04 05:32:52"
        }
    },
    "errors": null,
    "meta": {
        "timestamp": "2020-06-26 13:26:11 UTC",
        "timezone": "UTC"
    }
}

{danger} For Error Reference, Related guide: Errors