Skip to content
赞助

Airwallex 查询 ​

官方文档: Retrieve PaymentIntentRetrieve Refund

方法名参数返回值
queryarray $orderCollection

查询 Payment Intent ​

php
Pay::config($config);

$result = Pay::airwallex()->query([
    'payment_intent_id' => 'int_xxx',
]);

也可以直接传 id:

php
$result = Pay::airwallex()->query([
    'id' => 'int_xxx',
]);

查询退款 ​

php
$result = Pay::airwallex()->query([
    '_action' => 'refund',
    'refund_id' => 'ref_xxx',
]);

也可以直接传 id:

php
$result = Pay::airwallex()->query([
    '_action' => 'refund',
    'id' => 'ref_xxx',
]);

Released under the MIT License.