Developer Discussions
Getting [K004] Invalid endpoint error for `payments/v1/payment-tokens`
Hello Maya, is there a new endpoint for generating payment tokens aside from the one documented here? I'm experiencing the ff error whenever I invoke it withPOST
command
Generated API keys not working
I always received an error regarding on creating a checkout link. My sandbox public API key is working. Why is that?
Sanbox test card always AUTH FAILED
AUTH_FAILED
Error Codes and Message
[PY0100] Authentication failed.
I am having trouble authenticating with maya checkout. Help me.
I got this public key "pk-redacted" from the provided sandbox API keys.
error code: K007
hello ,when I use public_key to test create checkout:
curl --request POST
--url https://pg.maya.ph/checkout/v1/checkouts
--header 'accept: application/json'
--header 'authorization: Basic cGstRlpYSnFnYVpmNFBRZjJ2OWlJMDRkUk9sM2xPMmlVQ1hUeGlpS2M3aVFNRzo='
--header 'content-type: application/json'
--data '
{
"totalAmount": {
"value": 1000,
"currency": "PHP"
},
"requestReferenceNumber": "5fc10b93-bdbd-4f31-b31d-4575a3785009"
}
'
Generated API keys not working
as the title says it's not working when creating a checkout link but sandbox api keys is working, why is that?
Invalid key scope. Please check the provided key's scopes.
Hi Good Day, I Have Problem Encounter When I Used your public key they run success but when we create our own account in sandox they always error ( Invalid key scope. Please check the provided key's scopes.) show.
k003 error
Payamaya checkout request giving invalid credentials issue when i try with public key on Flutter App. That public key is working perfectly fine when I am using with java script SDK
k003 error
Payamaya checkout request giving invalid credentials issue when i try with public key on Flutter App. That public key is working perfectly fine when I am using with java script SDK
when i use sandbox public and secret it works. but actual public and secret key does not
i get this message. do i need to do anything to the key? i use json with user : password. or should i use base64?