Developer Discussions

Ask a Question
Answered

What does error "[PY0017] Merchant not found" mean?

When Creating a Card of Customer, it returns a verificationUrl in the response body.

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
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
}
'