Developer Discussions

Ask a Question
Back to All

Keep Getting 'Invalid Endpoint' while accessing 'Retrieve Payment via RRN'

API URL:
https://pg-sandbox.paymaya.com/payments/v1/payment-rrns/VR8UFV20220310270

RRN:
VR8UFV20220310270

Credentials used for creating checkout is the 'Sandbox Party 3' referenced here: https://developers.paymaya.com/reference/sandbox-credentials-and-cards

Try hitting the API via your site, got:
(https://developers.paymaya.com/reference/getpaymentviarequestreferencenumber-1)
'Sorry you couldn't be authenticated with those credential'