Get Withdrawal Options
GET/v2/customers/:customerId/withdrawals/options
Returns list of available withdrawal options.
Add type
query parameter to find available THIRDT_PARTY
withdrawal options.
Request
Path Parameters
Customer Id.
Query Parameters
Possible values: [THIRD_PARTY
, FIRST_PARTY
]
Default value: FIRST_PARTY
Withdrawal type.
Responses
- 200
- 405
OK
- application/json
- Schema
- Example (from schema)
- GET_WITHDRAWAL_OPTIONS
Schema
Array [
-
CARD - Represents CardPaymentOptionSettings
- CARD
]
Possible values: [RAPID_TRANSFER
, BANK_TRANSFER
, OFFLINE_BANK_TRANSFER
, CARD
, PAYSAFECASH
, PAGO_EFECTIVO
]
Enumeration of supported Payment Option Types
Possible values: [THIRD_PARTY
, FIRST_PARTY
]
Default value: FIRST_PARTY
Participant in the payment.
Possible values: [SEPA_BANK_ACCOUNT
, UK_BANK_ACCOUNT
, US_BANK_ACCOUNT
, CCI_BANK_ACCOUNT
, CARD
]
Supported instrument types.
paymentOptionSettings
object
deprecated
Provides settings for a specific payment option. Valid payment options are:
paymentOption
string
required
Possible values: [CARD
]
Enumeration of supported Payment Option Types
any
[
{
"paymentOption": "CARD",
"type": "FIRST_PARTY",
"instrumentTypes": [
"CARD"
]
}
]
[
{
"instrumentTypes": [
"US_BANK_ACCOUNT"
],
"paymentOption": "BANK_TRANSFER"
},
{
"instrumentTypes": [
"CARD"
],
"paymentOption": "CARD",
"cardSchemes": [
"VISA",
"MC"
]
}
]
Method Not Allowed
- application/json
- Schema
- Example (from schema)
- DW-OPERATION-NOT-ALLOWED
Schema
Array [
]
error
object
Represents details of an error.
The error code.
The description of the error.
Details for the errors of any parameter value.
fieldErrors
object[]
List of field errors associated with the main error.
Identifies the JSON request field.
The problem associated with the field.
{
"error": {
"code": "string",
"message": "string",
"details": [
"string"
],
"fieldErrors": [
{
"field": "string",
"error": "string"
}
]
}
}
{
"error": {
"code": "DW-OPERATION-NOT-ALLOWED",
"message": "Operation is not allowed in your account. Contact Paysafe for further details.",
"details": [
"Operation is not allowed in your account. Contact Paysafe for further details."
]
}
}