hkulekci / php-akbank-api

此包最新版本(dev-master)没有可用的许可信息。

dev-master 2016-05-09 17:47 UTC

This package is auto-updated.

Last update: 2024-09-07 12:52:01 UTC


README

您可以使用PHP轻松连接到Akbank API客户端。示例

<?php
require_once '../vendor/autoload.php';

define('API_KEY', '....');

$apiClient = new \AkbankAPI\Client('https://apigate.akbank.com/api/mock/');
$apiClient->setApikey(API_KEY);

// TEST 1
$response = $apiClient->getCreditInterestRate(
     \AkbankAPI\Endpoints\CreditInterestRates::CREDIT_TYPE_CONSUMER_LOAN
);
var_dump($response->isOk());
var_dump($response->getReturnCode());
var_dump($response->getReturnMessage());
var_dump($response->getData());

更多示例,您可以查看测试。

API文档: https://apiportal.akbank.com/documentation 客户端文档:即将推出!