Payment Methods

This is api for payment method



Endpoint


Method Description URI
GET Get a list of Payments /api/v2/payment-methods



Required Headers


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


Get a list of Payment Methods

Parameters


Method URI
GET /api/v2/payment-methods

Response


{success} Success code : 200

{
    "success": true,
    "data": [
        {
            "id": 1,
            "name": "Online Banking",
            "logo_url": "http://localhost:8080/img/fpx_logo.png",
            "created_at": "2019-05-18 02:17:10",
            "updated_at": null,
            "options": [
                {
                    "id": 1,
                    "code": "ABB0233",
                    "name": "Affin Bank Berhad",
                    "display_name": "Affin Bank",
                    "logo_url": "http://localhost:8080/img/affin.PNG",
                    "online": false
                },
                {
                    "id": 2,
                    "code": "ABMB0212",
                    "name": "Alliance Bank Malaysia Berhad",
                    "display_name": "Alliance Bank",
                    "logo_url": "http://localhost:8080/img/alliance.png",
                    "online": false
                },
                {
                    "id": 3,
                    "code": "AMBB0209",
                    "name": "AmBank Malaysia Berhad",
                    "display_name": "AmBank",
                    "logo_url": "http://localhost:8080/img/ambank.PNG",
                    "online": false
                },
                {
                    "id": 4,
                    "code": "BIMB0340",
                    "name": "Bank Islam Malaysia Berhad",
                    "display_name": "Bank Islam",
                    "logo_url": "http://localhost:8080/img/bank_islam.png",
                    "online": false
                },
                {
                    "id": 5,
                    "code": "BKRM0602",
                    "name": "Bank Kerjasama Rakyat Malaysia Berhad",
                    "display_name": "Bank Rakyat",
                    "logo_url": "http://localhost:8080/img/bank_rakyat.png",
                    "online": false
                },
                {
                    "id": 6,
                    "code": "BMMB0341",
                    "name": "Bank Muamalat Malaysia Berhad",
                    "display_name": "Bank Muamalat",
                    "logo_url": "http://localhost:8080/img/muamalat.PNG",
                    "online": false
                },
                {
                    "id": 7,
                    "code": "BSN0601",
                    "name": "Bank Simpanan Nasional",
                    "display_name": "BSN",
                    "logo_url": "http://localhost:8080/img/bsn.png",
                    "online": false
                },
                {
                    "id": 8,
                    "code": "BCBB0235",
                    "name": "CIMB Bank Berhad",
                    "display_name": "CIMB Clicks",
                    "logo_url": "http://localhost:8080/img/cimb.png",
                    "online": false
                },
                {
                    "id": 9,
                    "code": "HLB0224",
                    "name": "Hong Leong Bank Berhad",
                    "display_name": "Hong Leong Bank",
                    "logo_url": "http://localhost:8080/img/hongleong.png",
                    "online": false
                },
                {
                    "id": 10,
                    "code": "HSBC0223",
                    "name": "HSBC Bank Malaysia Berhad",
                    "display_name": "HSBC Bank",
                    "logo_url": "http://localhost:8080/img/hsbc.png",
                    "online": false
                },
                {
                    "id": 11,
                    "code": "KFH0346",
                    "name": "Kuwait Finance House (Malaysia) Berhad",
                    "display_name": "KFH",
                    "logo_url": "http://localhost:8080/img/KFH.PNG",
                    "online": false
                },
                {
                    "id": 12,
                    "code": "MB2U0227",
                    "name": "Malayan Banking Berhad (M2U)",
                    "display_name": "Maybank2U",
                    "logo_url": "http://localhost:8080/img/maybank.png",
                    "online": false
                },
                {
                    "id": 13,
                    "code": "MBB0228",
                    "name": "Malayan Banking Berhad (M2E)",
                    "display_name": "Maybank2E",
                    "logo_url": "http://localhost:8080/img/maybank2e.jpeg",
                    "online": false
                },
                {
                    "id": 14,
                    "code": "OCBC0229",
                    "name": "OCBC Bank Malaysia Berhad",
                    "display_name": "OCBC Bank",
                    "logo_url": "http://localhost:8080/img/ocbc.PNG",
                    "online": false
                },
                {
                    "id": 15,
                    "code": "PBB0233",
                    "name": "Public Bank Berhad",
                    "display_name": "Public Bank",
                    "logo_url": "http://localhost:8080/img/public_bank.png",
                    "online": false
                },
                {
                    "id": 16,
                    "code": "RHB0218",
                    "name": "RHB Bank Berhad",
                    "display_name": "RHB Bank",
                    "logo_url": "http://localhost:8080/img/rhb.png",
                    "online": false
                },
                {
                    "id": 17,
                    "code": "SCB0216",
                    "name": "Standard Chartered Bank",
                    "display_name": "Standard Chartered",
                    "logo_url": "http://localhost:8080/img/standard_chartered.png",
                    "online": false
                },
                {
                    "id": 18,
                    "code": "UOB0226",
                    "name": "United Overseas Bank",
                    "display_name": "UOB Bank",
                    "logo_url": "http://localhost:8080/img/uob.png",
                    "online": false
                },
                {
                    "id": 19,
                    "code": "TEST0021",
                    "name": "SBI Bank A",
                    "display_name": "SBI Bank A",
                    "logo_url": "http://localhost:8080",
                    "online": false
                },
                {
                    "id": 20,
                    "code": "TEST0022",
                    "name": "SBI Bank B",
                    "display_name": "SBI Bank B",
                    "logo_url": "http://localhost:8080",
                    "online": false
                },
                {
                    "id": 21,
                    "code": "TEST0023",
                    "name": "SBI Bank C",
                    "display_name": "SBI Bank C",
                    "logo_url": "http://localhost:8080",
                    "online": false
                },
                {
                    "id": 22,
                    "code": "TEST0001",
                    "name": "Test Bank A",
                    "display_name": "Test Bank A",
                    "logo_url": "http://localhost:8080",
                    "online": false
                },
                {
                    "id": 23,
                    "code": "TEST0002",
                    "name": "Test Bank B",
                    "display_name": "Test Bank B",
                    "logo_url": "http://localhost:8080",
                    "online": false
                },
                {
                    "id": 24,
                    "code": "TEST0003",
                    "name": "Test Bank C",
                    "display_name": "Test Bank C",
                    "logo_url": "http://localhost:8080",
                    "online": false
                },
                {
                    "id": 25,
                    "code": "TEST0004",
                    "name": "Test Bank D",
                    "display_name": "Test Bank D",
                    "logo_url": "http://localhost:8080",
                    "online": false
                },
                {
                    "id": 26,
                    "code": "TEST0005",
                    "name": "Test Bank E",
                    "display_name": "Test Bank E",
                    "logo_url": "http://localhost:8080",
                    "online": false
                },
                {
                    "id": 27,
                    "code": "STTL01",
                    "name": "Bank Pertanian Malaysia Berhad (Agrobank)",
                    "display_name": "Agrobank",
                    "logo_url": "http://localhost:8080",
                    "online": false
                }
            ]
        },
        {
            "id": 3,
            "name": "Credit / Debit Card",
            "logo_url": "http://localhost:8080/img/master_visa.png",
            "created_at": "2019-05-18 02:17:10",
            "updated_at": null,
            "options": [
                {
                    "id": 1,
                    "code": "mastercard",
                    "name": "MasterCard",
                    "logo_url": "http://localhost:8080/img/master_card.png"
                },
                {
                    "id": 2,
                    "code": "visa",
                    "name": "Visa",
                    "logo_url": "http://localhost:8080/img/visa.png"
                },
                {
                    "id": 3,
                    "code": "amex",
                    "name": "American Express",
                    "logo_url": "http://localhost:8080/img/amex.png"
                }
            ]
        }
    ],
    "errors": null,
    "meta": {
        "timestamp": "2020-06-26 07:17:12 UTC",
        "timezone": "UTC"
    }
}