Forum Academy Marketplace Showcase Pricing Features

API Connector : Secret Key Parameter is empty error

Hi all. I am wondering if anyone can help me resolve this issue.

Basically I am trying to integrate a payment gateway (Toyyibpay from MY). I have followed their documentation to send “userSecretKey” as one of the parameter, but the API returned below error.

Here is my setup

What could be the cause here? I have followed their documentation here : https://toyyibpay.com/apireference

Can anyone point me to the right direction?

Hi @faisalkarimstubapp,
Unfortunetaly I get “this site can’t be reached” when trying to access the documentation.
Are you sure that you are supposed to send the key within the JSON body, and not in the header?

1 Like

Hi @alanpieczonka ,

Thank you for checking out. Here is the docs : https://toyyibpay.com/apireference/ . It seems like the problem with my call is the body should be sent as form-data, not json.