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

NameTypeDescription

hash*

string

Base64 encoded string of SHA512 hash of data sent. It is detailed below.

paymesOrderId*

string

Unique transaction id sent by Paymes

publicKey*

string

Your Public Key

{
    "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=="
    }
}

Hash Check

Hash is obtained by concatenating the following parameters as string, hashing with SHA512 and encoding the result in base64 type:

paymesOrderId + secret

Last updated