Table of Contents

Routes
Types

Routes

withdraw-payment-systems

GET withdraw-payment-systems/

Gets the API list of payment systems.
InputsTypeDescription
None.

OutputsTypeDescription
PB_WithdrawalQueue_PaymentSystem[]mixed

GET withdraw-payment-systems/{id}/

Gets information about the specified payment system.
InputsTypeDescription
None.

OutputsTypeDescription
paymentSystemPB_WithdrawalQueue_PaymentSystem

DELETE withdraw-payment-systems/{id}/

Deletes the specified payment system.
InputsTypeDescription
None.

OutputsTypeDescription
successtrue

withdraw-requisites

GET withdraw-requisites/

Gets the API user's list of withdrawal queue requisites.
InputsTypeDescription
None.

OutputsTypeDescription
requisitesPB_WithdrawalQueue_Requisite[]

POST withdraw-requisites/

Creates the specified requisite
InputsTypeDescription
system_idinteger[req]
walletstring
custom_fields[<name>]string

OutputsTypeDescription
successtrue
requisitePB_WithdrawalQueue_Requisite

GET withdraw-requisites/{id}/

Gets information about the specified requisite.
InputsTypeDescription
None.

OutputsTypeDescription
requisitePB_WithdrawalQueue_Requisite

POST withdraw-requisites/{id}/

Updates the specified requisite
InputsTypeDescription
walletstring
custom_fields[<name>]string

OutputsTypeDescription
successtrue
requisitePB_WithdrawalQueue_Requisite

DELETE withdraw-requisites/{id}/

Deletes the specified requisite.
InputsTypeDescription
None.

OutputsTypeDescription
successtrue

withdraws

GET withdraws/

Gets the API user's list of withdrawal requests.
InputsTypeDescription
pageinteger
user_idinteger
withdraw_statestringPossible states: pending, sent, rejected

OutputsTypeDescription
requisitesPB_WithdrawalQueue_Withdraw[]
paginationpagination

GET withdraws/{id}/

Gets information about the specified withdraw.
InputsTypeDescription
None.

OutputsTypeDescription
withdrawPB_WithdrawalQueue_Withdraw

POST withdraws/{id}/

Updates the specified withdraw
InputsTypeDescription
withdraw_statestringPossible states: pending, sent, rejected
payoutfloat
reject_reasonstring

OutputsTypeDescription
successtrue
withdrawPB_WithdrawalQueue_Withdraw

Types

PB_WithdrawalQueue_Requisite

StructureTypeDescription
requisite_idinteger
system_idinteger
user_idinteger
custom_fieldsobject
walletstring
create_dateinteger
update_dateinteger

PB_WithdrawalQueue_RequisiteField

StructureTypeDescription
field_idstring
titlestring
descriptionstring
display_orderinteger
field_typestring
field_choicesobject[cond] For choice types, an ordered list of choices, with "option" and "name" keys for each.
match_typestring
match_paramsarray
max_lengthinteger
requiredbool
display_groupstring[cond] If this field type supports grouping, the group this field belongs to.

PB_WithdrawalQueue_Withdraw

StructureTypeDescription
withdraw_idinteger
user_idinteger
usernamestring
update_user_idinteger
update_usernamestring
sumfloat
payoutfloat
chargedfloat
commissionfloat
withdraw_statestring
reject_reasonstring
requisite_idinteger
walletstring
system_idinteger
system_titlestring
state_phrasestring
create_dateinteger
update_dateinteger
formatted_requested_amountstring
formatted_payout_amountstring
formatted_charged_amountstring
currency_addonstring
currency_idinteger
payout_currencystring