Developer Discussions

Ask a Question
ANSWERED
ANSWERED
ANSWERED
ANSWERED

Can you add PayMaya Category MIDs in Create Dynamic QR API request body?

In P3 Sale API, you can add a paymaya category mid (ex. 102116695 for Transportation) in the merchant.id field. For QR payments, is there a field where you can enter this?

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