我可以成功地从Instamojo API获得付款响应,但我找不到任何提到instrument_type的文档。我想知道除CARD之外的instrument_types。有没有办法找出来?
我还需要知道,如何限制通过BHIM和钱包选项完成的付款?
请帮我解决这个问题。
谢谢。
我可以成功地从Instamojo API获得付款响应,但我找不到任何提到instrument_type的文档。我想知道除CARD之外的instrument_types。有没有办法找出来?
我还需要知道,如何限制通过BHIM和钱包选项完成的付款?
请帮我解决这个问题。
谢谢。
尝试使用此功能从您的响应中提取仪器类型
public function check(){
try {
$response = $this->api->paymentRequestPaymentStatus('Payment_request_id', 'Payment_id');
dump($response);
dump($response['payment']['instrument_type']);
}
catch (Exception $e) {
print('Error: ' . $e->getMessage());
}
}