Developer Discussions

Ask a Question
ANSWERED

How to retrieve the "state" of a Payment Token

After creating a Payment Token using Create Payment Token API, are there any other APIs that can be used to retrieve the latest state of the Payment Token?

ANSWERED
ANSWERED
ANSWERED

Is it possible to Tokenize card information without redirecting to a verificationUrl?

The Create Payment Token API requires card information, and returns a Payment Token ID.

ANSWERED

Create Card of Customer returning Token is invalid.

curl --request POST
--url
https://pg-sandbox.paymaya.com/payments/v1/customers/69630630-620e-443f-bad0-94e5fb4215e7/cards
--header 'accept: application/json'
--header 'authorization: Basic c2stTk1kYTYwN0ZlWk5HUnQ5eENkc0lSaVo0THF1NkxUODk4SXRIYk40cVBTZTo='
--header 'content-type: application/json'
--data '
{
"redirectUrl": {
"success": "https://www.sample.com/success.html",
"failure": "https://www.sample.com/failed.html",
"cancel": "https://www.sample.com/cancel.html"
},
"paymentTokenId": "xJvxVEQjqla9aQZQmkgNqJaWXIxa0ToPpFZwoIsGhpHgCWZ0w9CGIJ0Xcj8Vo89MTCYjz2TteMclZcPkJwMlfwsvk3CNBx3ursibTXU8amzlbD5MBbK8hn7y1UsJnItO4J3sem8cPldB9HBLcV39iF30elmDklB0NCBm6P9gc",
"isDefault": true
}
'

ANSWERED

Create Customer (sandbox)

hello may i know on how can i test the create customer in https://developers.maya.ph/reference/createv1customer
when i use the credentials given in https://developers.maya.ph/reference/sandbox-credentials-and-cards
the error message is "error": "Invalid authentication credentials. Kindly verify if the key you are using is correct
Thanks