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

Create Withdraw Request

You can POST your content to our Withdraw Callback Endpoint and it will be added in our records. After approval or denial, you will get a response at YOUR CALLBACK ENDPOINT.

Creating Withdraw

ENDPOINT:

https://paytopenta.com/handshake/withdraw.php

application/JSON

Headers

Key
Value
Type

token

{{your-provided-token}}

string

Body

Key
Value
Type

transaction_id

transaction ID record of yours

string

customer_name

member name and surname of yours

string

amount

amount requested

decimal

account_no

bank account number of member

string

bank_name

bank name of members account_no

string

{
    "transaction_id": "1306UNY24YIQNOWJ",
    "customer_name": "BILBO BAGGINS",
    "amount": 42000.00,
    "account_no": "TR1251398764287",
    "bank_name": "GARANTI BANKASI"
}

Getting Withdraw Response

application/JSON

Key
Value
Type

status

HTTP Status Code

-

content

JSON array of response info

JSON

content[message]

Response message

string

content[id]

ID of transaction

int

{
    "status":200,
    "content":
        {
        "message":"WITHDRAW SUBMITTED",
        "id":10
        }
}
ACCESS ERRORS:

UNAUTHORISED ACCESS
{"status":401,"message":"UNAUTHORIZED IP"}
{"status":401,"message":"IP MISMATCH"}
{"status":401,"message":"UNAUTHORIZED TYPE"}
{"status":401,"message":"INACTIVE INTEGRATION"}

INTERNAL SERVER ERROR
{"status":500,"message":"INTERNAL SERVER ERROR"}
PreviousDeposit ResultNextWithdraw Result

Last updated 8 months ago