Skip to content

TRY Papel withdrawals#

Withdrawal endpoint#

Make a withdrawal request using the API V.2 endpoint (see the withdrawal initiation with API page for the full OpenAPI specification):

POST https://api.xgateway.tech/api/v2/withdrawal

Required Payload#

To initiate a withdrawal in TRY currency from your Papel account, please provide the following parameters in the withdrawal request

ParameterMandatoryDescription
amounttrueString representation of requested amount. Should be multiple of 50.
applicationIdfalseApplication ID in case the application is used
customerIdtrueCustomer id in the merchant system
orderIdfalseInvoice id in the merchant system. If provided, used as an idempotency key.
currencytrueString representation of the requested currency. Should be TRY in this case.
beneficiaryAccountNumbertrueCustomer's Papel account number. Should be 10 digit string.
beneficiaryNametrueCustomer’s first name and last name in string format
beneficiaryEmailfalseCustomer's email address.
paymentMethodtruePayment method name. Should be "papel" in this case.
Payload example
{
    "beneficiaryAccountNumber": "2004169722",
    "beneficiaryEmail": "[email protected]",
    "beneficiaryName":"John Doe",
    "currency": "TRY",
    "amount": "50",
    "customerId": "test_customer_id",
    "paymentMethod": "papel"
}

Deposit and withdrawal amounts in TRY must be multiples of 50.