[Paymill][PHP SDK] How to get the last API response as an array?

sdk
paymill
paymill-php-sdk
api-last-response
(Dmitry Fedyuk) #1
{
    "header": {
        "status": 200,
        "reason": null
    },
    "body": {
        "data": {
            "id": "pay_725c79222f97a860013a64ad",
            "type": "creditcard",
            "client": {
                "id": "client_6293b67378fb389410d9",
                "email": null,
                "description": null,
                "app_id": null,
                "updated_at": 1486561224,
                "created_at": 1486561224,
                "payment": [
                    "pay_725c79222f97a860013a64ad"
                ],
                "subscription": null
            },
            "card_type": "visa",
            "country": "DE",
            "expire_month": "12",
            "expire_year": "2018",
            "card_holder": "DMITRY FEDYUK",
            "last4": "1111",
            "updated_at": 1486561224,
            "created_at": 1486561224,
            "app_id": null,
            "is_recurring": true,
            "is_usable_for_preauthorization": true
        },
        "mode": "test"
    }
}
0 Likes

[Paymill] A «transaction.created» event notification (being sent to a webhook)
[Paymill] A preauthorization response
(Dmitry Fedyuk) #2

See also:

0 Likes