4. To Member

You can send money to Iban of your member you already saved to PayWall by using member api

Payout - Member

POST {{Base Address}}/api/paywall/payout/send/member

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 - Registered Member service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' field. PaymentAPI Address

ParameterTypeMandatoryDescription

apikeyprivate

string

Yes

The Private Key obtained from the merchant panel.

apiclientprivate

string

Yes

The Private Client obtained from the merchant panel.

The parameters that need to be sent to the service are as follows:

ParameterTypeMandatoryDescription

PayoutProviderKey

string

Yes

The key phrase of the PayOut provider in the PayWall.

MerchantUniqueCode

string

Yes

Unique code to track the PayOut transaction (you cannot use the same codes within the same month).

MemberId

int

Yes

The registered sub-member identification information in PayWall. It is returned within the response at the time of registration in PayWall.

Description

string

Yes

Description to be provided to the recipient for PayOut.

Amount

decimal

Yes

PayOut amount

CurrencyId

int

Yes

{
    "PayoutProviderKey": "ProviderKey",
    "MerchantUniqueCode": "42222",
    "MemberId": 209021,
    "Description": "test description",
    "Amount": 1,
    "CurrencyId": 1
}

The response from the service:

ParameterTypeDescription

Body

object

JSON containing payment details (optional)

ErrorCode

int

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

Result

bool

It returns 'true' if the operation is successful.

Message

string

If the operation is unsuccessful, this is the message related to the error, providing language support based on the 'locale' parameter.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": {
        "Result": true,
        "PayoutTransactionId": 53,
        "MerchantUniqueCode": "123123s1a2da3",
        "UniqueCode": "db1780b8-682d-4274-a519-5b52a4988e51",
        "Amount": 0.1
    }
}

Last updated