Gateway
The gateway structure defines the descriptor of the processing gateway.
✓ - required value
? - optional, value or null
✕ - always appears as null
Variable | Type | Description | |
---|---|---|---|
payment_method | varchar(50) | ✓ | Payment method |
payment_processor | varchar(50) | ✓ | Payment processor |
gateway | varchar(32) | ✓ | HASH value of gateway that should processed transaction |
system_name | varchar(100) | ✓ | Human readable gateway identifier |
image | varchar(512) | ✓ | URL of an image corresponding to the payment method |
status | varchar(50) | ✓ | Gateway status |
deposit_supported | int(1) | ✓ | Gateway supports deposits (1 - for true, 0 - for false) |
authorization_supported | int(1) | ✓ | Gateway supports authorization (1 - for true, 0 - for false) |
payout_supported | int(1) | ✓ | Gateway supports payout (1 - for true, 0 - for false) |
refund_supported | int(1) | ✓ | Gateway supports refund (1 - for true, 0 - for false) |
is_3d | varchar(4) or null | ✓ | Gateway with 3D authorization .For APM it always appear as null, for CC and PCI CC it is string |
input_fields | List<Object> | ✓ | List of input_field objects, representing the data input fields to be rendered for the full data set required for successful processing. The value may be an empty list if no additional fields are required. 2 separate data objects included : input_fields_for_payment for deposits and input_fields_for_withdrawal for withdrawal |
{
"payment_method": "WireOnline",
"payment_processor": "TestWallet",
"gateway": "XkI4sCxOBpcXylpK3-7ycM39RLTAqsyt",
"system_name":"WireOnline - use for EU payments",
"image": "",
"status":"active",
"deposit_supported":1,
"authorization_supported":0,
"payout_supported":1,
"refund_supported":0,
"is_3d":null,
"input_fields": {
"input_fields_for_payment":[
{
"key":"login",
"label":"Login",
"format":"text",
"default_value":"",
"required":0,
"min":0,
"max":50
},
{
"key":"full_name",
"label":"Full Name",
"format":"text",
"default_value":"",
"required":0,
"min":0,
"max":50
}
],
"input_fields_for_withdrawal":[
{
"key":"login",
"label":"Login",
"format":"text",
"default_value":"",
"required":0,
"min":0,
"max":50
}
]
}
}