Get payment details exists in respectve SDKs including Web Payment, Native Payment, Continuous Payment, and Request Money.
Hence if Get payment details of an SDK other than that of service you use is executed, the "OP_OUT_OF_SCOPE" error occurs; so use the SDK of service you use.
The following is a sample code of SDK for Get payment details (python).
- For Web Payment: Immediate sales and PreAuth & Capture, Dynamic QR, and App:
response = client.Code.get_payment_details("<merchantPaymentId>")
- For Native Payment, Native Payment: PreAuth & Capture, Continuous Payment, and Request Money:
response = client.Payment.get_payment_details("<merchantPaymentId>")