Answer the question
In order to leave comments, you need to log in
How to add options using PHP CURL API QIWI?
Good afternoon!
Here is part of the code:
$data = array(
'amount' => array(
"currency" => 'RUB',
"value" => '1.00'
),
"comment" => "Подписка на услуги",
"expirationDateTime" => "$date",
"customer" => array(
"phone" => "+7123456789",
"email" => "[email protected]",
"account" => "account-name"
),
// ------ ТУТ НУЖНО ДОБАВИТЬ flags (вопрос ниже)----- //
);
$data = json_encode($data);
Answer the question
In order to leave comments, you need to log in
$data = array(
'amount' => array(
"currency" => 'RUB',
"value" => '1.00'
),
"comment" => "Подписка на услуги",
"expirationDateTime" => "$date",
"customer" => array(
"phone" => "+7123456789",
"email" => "[email protected]",
"account" => "account-name"
),
"flags" => array(
"CHECK_CARD" ,
"BIND_PAYMENT_TOKEN"
),
);
$data = json_encode($data);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question