Payment Transaction Query
It can be used to query the status of the payment transaction.
status
POST
https://api.paym.es/v4.6/status
Request Body
{
"status": true,
"results": {
"currency": "TRY",
"price": "0.10",
"type": "success",
"message": "Ödeme Başarılı",
"orderId": "123321",
"paymesOrderId": "89cf4409-b274-485d-823a-78ae46ce1685",
"ccFirstSix": "535177",
"ccLastFour": "4282",
"hash": "TTotH8yaVmn+HgQBHqQ70XI6suubjV8mvhuH0mlhqtMmVUxdQyAV/3NARVGYXq4ggodRy58RvFp7u2moGsmboA=="
}
}
{
"status": false,
"error": {
"paymesOrderId": [
"The paymes order id must be a valid UUID."
]
}
}
Hash Check
Hash is obtained by concatenating the following parameters as string, hashing with SHA512 and encoding the result in base64 type:
paymesOrderId + secret