Gatepay Havale/EFT Client API
  1. Methods
Gatepay Havale/EFT Client API
  • Callback
  • Changelogs
  • Methods
    • deposit
      POST
    • withdraw
      POST
    • bank list
      POST
    • transaction status
      GET
  1. Methods

withdraw

POST
/api/v1/withdraw/start
This endpoint returns JSON response with created transaction.
Fields are mandatory.

Request

Header Params

Body Params multipart/form-data

Responses

🟠400withdraw - validation error
application/json
Body

🟢200withdraw - success
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/withdraw/start' \
--header 'X-Customer-Authorization: {{hash}}' \
--header 'X-Customer-Language: tr' \
--header 'X-Customer-Id: {{client_id}}' \
--form 'player_username="playlser_user_name"' \
--form 'player_fullname="player full name"' \
--form 'player_id="666"' \
--form 'bet_provider_txid="99999123212"' \
--form 'amount="5"' \
--form 'bank_id="1"' \
--form 'iban="TR27 0006 4000 0011 0890 9298 76"' \
--form 'iban_fullname="Iban fullname"'
Response Response Example
400 - withdraw - validation error
{
    "error": {
        "player_username": [
            "The player username field is required."
        ],
        "player_fullname": [
            "The player fullname field is required."
        ],
        "player_id": [
            "The player id field is required."
        ],
        "amount": [
            "The amount field must be a number."
        ],
        "iban": [
            "The iban must be a correct IBAN.",
            "IBAN fff does not belong to bank Garanti"
        ]
    }
}
Modified at 2025-12-29 18:26:10
Previous
deposit
Next
bank list
Built with