Developer Discussions
Create webhook
How should we create the webhook endpoint?
Posted by John Ferraris about 1 year ago
Error when using generated API
Hello,
I'd like to ask regarding this error I get when switching from sandbox keys to generated keys from a registered account:
["error"]=>
string(86) "Invalid authentication credentials. Kindly verify if the key you are using is correct."
["code"]=>
string(4) "K003"
["reference"]=>
string(36) "fa640821-f9b9-4821-9d0c-7a6bbc44efef"
It works fine with the sandbox keys. Tried regenerating new keys, but the same error persisted. Do I need to change something on my curl code?
Kind regards,
Posted by Rahul 11 months ago
Unable to receive webhook requests
We have setup our webhook but we are not receiving any requests.
Posted by John Ferraris about 1 year ago
Transaction cannot be processed. Cannot refund a transaction before cut off time
How long would it take to process the refund
Posted by Sadawaf 11 months ago
Public vs Secret API Keys
What are public-facing and secret API keys?
Posted by Lydia Mathery 8 months ago
Invalid Key Scope error
curl --request POST \
--url https://pg-sandbox.paymaya.com/payby/v2/paymaya/payments \
--header 'Accept: application/json' \
--header 'Authorization: Basic cGstbE5BVWsxams3VlBuZjdrb09UMXVvR0pvWkpqbUF4cmJqcGo2dXJCOEVJQTo=' \
--header 'Content-Type: application/json' \
--data '
{
"totalAmount": {
"value": 111,
"currency": "PHP"
},
"redirectUrl": {
"success": "1.com",
"failure": "22.com",
"cancel": "3.com"
},
"requestReferenceNumber": "12412451351"
}
'
why when i test this using sandbox key it always throw error :
{"error":"Invalid key scope. Please check the provided key's scopes.","code":"K007","reference":"db198b36-1cc2-465d-9ff2-218730509740"}
is there something wrong with my request? Thanks
Posted by Albert 10 months ago
Is there any sample code for PHP?
Better if Maya dev provide a sample source code.
Posted by Lap Pham 9 months ago
What are the minimum webhooks we need to set?
What are the minimum webhooks we need to set?
Posted by John Ferraris about 1 year ago