1. Balance

You can authorize PayWall with your own access credentials through the PayOut providers supported by PayWall and perform balance control operation.

Balance Check

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

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 Check 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

Evet

The Private Key you obtained from the member business panel.

apiclientprivate

string

Evet

The Private Client obtained from the member business panel.

payoutconnectionid

int

Evet

Connected provider identity (ID) information.

The response returned from the service:

ParameterTypeDescription

Body

object

JSON containing details about the balance information (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