2. Balance/Main Account

You can authorize PayWall with your own access credentials through the PayOut providers supported by PayWall and perform balance control (Main Account) operations.

Balance/Main Account

GET {{Base Address}}/api/paywall/payout/balance/main

Yukarıda verilmiş olan adrese istek atmanız yeterli olacaktır. Test ortamı ve Gerçek ortam için 'Base Address' istediğiniz gibi kullanabilirsiniz.

Important: To use the Payout - Balance Control (Main Account) service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' field.

PaymentAPI Address

The header information that needs to be sent to the service is as follows:

ParameterTypeMandatoryDescription

apikeyprivate

string

Yes

The Private Key you obtained from the member business panel.

apiclientprivate

string

Yes

The Private Client obtained from the member business panel.

currencyid

int

Yes

Provider currency

See: Currency

The response returned from the service:

ParameterTypeDescription

Body

object

JSON containing payment details (optional)

ErrorCode

int

Error code. It returns '0' if the transaction is successful.

Result

bool

It returns a true or false value. If the transaction is successful, it returns 'true'.

Message

string

If the transaction is unsuccessful, this is the specified error message, offering language support according to the locale parameter.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Balances": [
            {
                "TotalBalance": 249961.82,
                "LockedBalance": 0.0,
                "AvailableBalance": 249961.82
            }
        ],
        "ProviderDump": "{PROVIDERJSONDUMP}",
        "ProviderHttpStatus": 200,
        "ProviderConnectedId": 17,
        "ProviderId": 2,
        "ProviderKey": "ProviderKey",
        "CurrencyId": 1
    }
}

Last updated