Penta Pay - API DOCS
  • STARTER
  • DEPOSIT
    • Create Deposit Record
    • Deposit Result
  • WITHDRAW
    • Create Withdraw Request
    • Withdraw Result
Powered by GitBook
On this page
  • Response
  • # The Hashing
  1. DEPOSIT

Deposit Result

By using Penta Pay Deposit Interface by the members, you can receive a transaction info when deposit is approved or denied on our side.

PreviousCreate Deposit RecordNextCreate Withdraw Request

Last updated 6 months ago

Response

After a deposit record is APPROVED or DENIED, an information data (JSON) will be sent to your endpoint.

# The Hashing

Hashing mechanism uses transaction_id,status from body params in the request + your unique token. Merges the values all together and creates a unique hash string as shown below:

Parameters of request json:

Key
Value
Type

hash

sha256(transaction_id.status.token)

string

note

any note belonging to the transaction

string

amount

amount of request submitted

decimal

status

approval or denial code 1 => APPROVED, 2 => DENIED

int

currency

TRY

string

transaction_id

The transaction id record of us

int

member_id

member id value from redirect url

string

Example Response
{
    "hash":"ffef090d65c14f969d863a450d32a0a7153ddfdf786ccbe121d7572894457b91",
    "note":"",
    "amount":"1000.00",
    "status":"1",
    "currency":"TRY",
    "member_id":"N1135M13ĞPLÖN5U91",
    "transaction_id":"35724"
}