余额付款银行帐户验证

时间:2014-12-11 03:57:22

标签: php balanced-payments

我知道使用Balanced付款API启动银行帐户验证的电话是:

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA2TmACICKF9Lah8tzHWpLEx");
$verification = $bank_account->verify();

但是,如何从返回的调用中获取信息以及我使用哪些变量:

{
    "bank_account_verifications": [
    {
        "attempts": 0,
        "attempts_remaining": 3,
        "created_at": "2014-11-    14T19:27:13.837146Z",
        "deposit_status": "pending",
        "href": "/verifications/BZ1eMAsKt13lIj2SkvvHlxfT",
        "id": "BZ1eMAsKt13lIj2SkvvHlxfT",
        "links": {
            "bank_account": "BA17zYxBNrmg9isvicjz9Ae4"
        },
        "meta": {},
        "updated_at": "2014-11-14T19:27:13.837148Z",
        "verification_status": "pending"
    }
],
"links": {
    "bank_account_verifications.bank_account": "/bank_accounts/{bank_account_verifications.bank_account}"
}

{
    "bank_account_verifications": [
    {
        "attempts": 0,
        "attempts_remaining": 3,
        "created_at": "2014-11-    14T19:27:13.837146Z",
        "deposit_status": "pending",
        "href": "/verifications/BZ1eMAsKt13lIj2SkvvHlxfT",
        "id": "BZ1eMAsKt13lIj2SkvvHlxfT",
        "links": {
            "bank_account": "BA17zYxBNrmg9isvicjz9Ae4"
        },
        "meta": {},
        "updated_at": "2014-11-14T19:27:13.837148Z",
        "verification_status": "pending"
    }
],
"links": {
    "bank_account_verifications.bank_account": "/bank_accounts/{bank_account_verifications.bank_account}"
}

0 个答案:

没有答案