Skip to main content
5 operations.

myDepositAndWithdrawalHistory

Query — returns list[TransactionHistory]. List of all deposits and withdrawals for account Parameters
NameGraphQL typeRequiredDescription
paginationPaginationNo
Example
result = client.myDepositAndWithdrawalHistory(params={"pagination": ...}, selections=Selection(...))

paymentSettings

Query — returns PaymentProviders. Returns Payment provider’s settings Example
result = client.paymentSettings(selections=Selection(...))

paysafeDeposit

Mutation — returns PaysafeTransactionResult. Called to deposit money in a user’s account via paysafe. Parameters
NameGraphQL typeRequiredDescription
amountPosInt!YesThe amount to deposit which must match the amount from the token.
handleStringNoThe optional handle obtained from Paysafe for the deposit. If not provided it will be generated by the server
handleIdStringNoThe optional id of the handle obtained from paysafe for the deposit.
methodPaysafeDepositApiNoThe method of deposit such as credit card.
apiPaysafeDepositApiNoThe Paysafe API to use when making the deposit.
typePaysafeDepositType!YesPaysafe’s payment type. In example: interac, vip-preferred
descriptionStringNoAn optional description to add to the deposit.
interacMethodInteracMethodTypeNoInterac e-transfer method - send_money or request_money
Example
result = client.paysafeDeposit(params={"amount": ..., "handle": ..., "handleId": ..., "method": ..., "api": ..., "type": ..., "description": ..., "interacMethod": ...}, selections=Selection(...))

paysafeWithdrawal

Mutation — returns PaysafeTransactionResult. Called to withdraw funds from the platform, currently only ACH paysafe supported. Parameters
NameGraphQL typeRequiredDescription
amountPosInt!YesThe amount to withdraw from the user’s account.
handleStringNoThe handle obtained from Paysafe for the withdrawal. Can be null, in this case the withdrawal will wait for approval.
handleIdStringNoThe id of the handle obtained from paysafe for the withdrawal.
methodPaysafeWithdrawalApi!YesThe Payment method, currently card or paymenthub is supported.
typePaysafeWithdrawalType!YesPaysafe’s payment type.
descriptionStringNoOptional description of the payment.
Example
result = client.paysafeWithdrawal(params={"amount": ..., "handle": ..., "handleId": ..., "method": ..., "type": ..., "description": ...}, selections=Selection(...))

updatePaysafeSettings

Mutation — returns bool. Updates user’s payment settings. Parameters
NameGraphQL typeRequiredDescription
vipRegistrationIdString!YesVIP Preferred registration id
Example
result = client.updatePaysafeSettings(params={"vipRegistrationId": ...}, selections=Selection(...))