Creates a gateway account.
Gateway Account resource.
gatewayName required | string or null (GatewayName) Payment gateway name. | ||||||||||
method required | string (PaymentMethod) Payment method. | ||||||||||
acceptedCurrencies required | Array of strings Accepted currencies. An array of ISO 4217 currency codes. | ||||||||||
required | object A1Gateway credentials object. | ||||||||||
acquirerName | string or null Default: "Other" Acquirer name. | ||||||||||
paymentCardSchemes | Array of strings (PaymentCardBrand) Accepted payment card brands. | ||||||||||
merchantCategoryCode | string^[0-9]{4}$ Default: "0000" Merchant category code of the payment gateway account. | ||||||||||
dccMarkup | integer [ -10000 .. 10000 ] Dynamic currency conversion markup in basis points. | ||||||||||
dccForceCurrency | string Forces Dynamic Currency Conversion (DCC) to the specified currency on each sale. To disable forced DCC, leave this field empty. | ||||||||||
descriptor | string Gateway account descriptor value. | ||||||||||
cityField | string Gateway account city field. This value is also known as a line 2 descriptor. | ||||||||||
excludedDccQuoteCurrencies | Array of strings Excluded Dynamic Currency Conversion (DCC) quote currencies. | ||||||||||
monthlyLimit | number <double> >= 0 Monthly limit on the amount money that the gateway account can process. | ||||||||||
approvalWindowTtl | integer [ 300 .. 16777215 ] Default: 3600 Allotted time, in seconds, in which an offsite transaction must be approved before it is automatically | ||||||||||
reconciliationWindowEnabled | boolean Default: false Specifies that if a transaction is not reconciled within the | ||||||||||
reconciliationWindowTtl | integer [ 300 .. 16777215 ] Allotted time, in seconds, in which a reconciliation must occur before it is automatically | ||||||||||
threeDSecure | boolean Default: false Specifies if a gateway account allows 3D Secure. | ||||||||||
dynamicDescriptor | boolean Default: false Specifies if a gateway allows dynamic descriptors. | ||||||||||
object (Digital Wallets) Configure which digital wallets are enabled. | |||||||||||
additionalFilters | string Additional filters used to determine if the gateway account can be selected to process a transaction. For example, the filter may place a maximum amount value on transaction. If a transaction exceeds this value, the gateway account is not used. For more information see, Using filters. | ||||||||||
timeout | integer or null [ 10 .. 120 ] Gateway account request timeout, in seconds. | ||||||||||
sticky | boolean Default: true Specifies if all future payments by the customer's payment instrument are processed by this gateway account. For more information, see Gateway routing. | ||||||||||
setupInstruction | string Default: "do-nothing" Creates zero, one, or more child transactions such as
| ||||||||||
object (A1Gateway3dsServers) A1Gateway 3DS servers. | |||||||||||
Gateway account created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
gatewayName required | string or null (GatewayName) Payment gateway name. | ||||||||||||||||||||||
method required | string (PaymentMethod) Payment method. | ||||||||||||||||||||||
acceptedCurrencies required | Array of strings Accepted currencies. An array of ISO 4217 currency codes. | ||||||||||||||||||||||
required | object A1Gateway credentials object. | ||||||||||||||||||||||
id | string <= 50 characters ID of the payment gateway account. | ||||||||||||||||||||||
acquirerName | string or null Default: "Other" Acquirer name. | ||||||||||||||||||||||
paymentCardSchemes | Array of strings (PaymentCardBrand) Accepted payment card brands. | ||||||||||||||||||||||
status | string Status of the gateway account. | ||||||||||||||||||||||
merchantCategoryCode | string^[0-9]{4}$ Default: "0000" Merchant category code of the payment gateway account. | ||||||||||||||||||||||
dccMarkup | integer [ -10000 .. 10000 ] Dynamic currency conversion markup in basis points. | ||||||||||||||||||||||
dccForceCurrency | string Forces Dynamic Currency Conversion (DCC) to the specified currency on each sale. To disable forced DCC, leave this field empty. | ||||||||||||||||||||||
descriptor | string Gateway account descriptor value. | ||||||||||||||||||||||
cityField | string Gateway account city field. This value is also known as a line 2 descriptor. | ||||||||||||||||||||||
excludedDccQuoteCurrencies | Array of strings Excluded Dynamic Currency Conversion (DCC) quote currencies. | ||||||||||||||||||||||
monthlyLimit | number <double> >= 0 Monthly limit on the amount money that the gateway account can process. | ||||||||||||||||||||||
approvalWindowTtl | integer [ 300 .. 16777215 ] Default: 3600 Allotted time, in seconds, in which an offsite transaction must be approved before it is automatically | ||||||||||||||||||||||
reconciliationWindowEnabled | boolean Default: false Specifies that if a transaction is not reconciled within the | ||||||||||||||||||||||
reconciliationWindowTtl | integer [ 300 .. 16777215 ] Allotted time, in seconds, in which a reconciliation must occur before it is automatically | ||||||||||||||||||||||
threeDSecure | boolean Default: false Specifies if a gateway account allows 3D Secure. | ||||||||||||||||||||||
dynamicDescriptor | boolean Default: false Specifies if a gateway allows dynamic descriptors. | ||||||||||||||||||||||
object (Digital Wallets) Configure which digital wallets are enabled. | |||||||||||||||||||||||
| |||||||||||||||||||||||
isDown | boolean Specifies if a gateway is in a downtime period. | ||||||||||||||||||||||
additionalFilters | string Additional filters used to determine if the gateway account can be selected to process a transaction. For example, the filter may place a maximum amount value on transaction. If a transaction exceeds this value, the gateway account is not used. For more information see, Using filters. | ||||||||||||||||||||||
timeout | integer or null [ 10 .. 120 ] Gateway account request timeout, in seconds. | ||||||||||||||||||||||
token | string Gateway account token. | ||||||||||||||||||||||
sticky | boolean Default: true Specifies if all future payments by the customer's payment instrument are processed by this gateway account. For more information, see Gateway routing. | ||||||||||||||||||||||
setupInstruction | string Default: "do-nothing" Creates zero, one, or more child transactions such as
| ||||||||||||||||||||||
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. | ||||||||||||||||||||||
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. | ||||||||||||||||||||||
organizationId | string <= 50 characters Deprecated Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID. | ||||||||||||||||||||||
Array of objects Related links. | |||||||||||||||||||||||
object (A1Gateway3dsServers) A1Gateway 3DS servers. | |||||||||||||||||||||||
Unauthorized access. Invalid credentials used.
Access forbidden.
Invalid data sent.
{- "gatewayName": "A1Gateway",
- "acquirerName": "Other",
- "method": "payment-card",
- "acceptedCurrencies": [
- "string"
], - "paymentCardSchemes": [
- "Visa"
], - "merchantCategoryCode": "0000",
- "dccMarkup": -10000,
- "dccForceCurrency": "string",
- "descriptor": "string",
- "cityField": "string",
- "excludedDccQuoteCurrencies": [
- "string"
], - "monthlyLimit": 0,
- "approvalWindowTtl": 3600,
- "reconciliationWindowEnabled": false,
- "reconciliationWindowTtl": 300,
- "threeDSecure": false,
- "dynamicDescriptor": false,
- "digitalWallets": {
- "applePay": {
- "isEnabled": false,
- "displayName": "Test merchant",
- "country": "US"
}, - "googlePay": {
- "isEnabled": false,
- "merchantName": "Test merchant",
- "merchantOrigin": "www.example.com",
- "country": "US"
}
}, - "additionalFilters": "amount:1..100;bin:411111,444433",
- "timeout": 10,
- "sticky": true,
- "setupInstruction": "authorize",
- "credentials": {
- "accountId": "string",
- "password": "pa$$word"
}, - "threeDSecureServer": {
- "name": "Other"
}
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "gatewayName": "A1Gateway",
- "acquirerName": "Other",
- "method": "payment-card",
- "acceptedCurrencies": [
- "string"
], - "paymentCardSchemes": [
- "Visa"
], - "status": "active",
- "merchantCategoryCode": "0000",
- "dccMarkup": -10000,
- "dccForceCurrency": "string",
- "descriptor": "string",
- "cityField": "string",
- "excludedDccQuoteCurrencies": [
- "string"
], - "monthlyLimit": 0,
- "approvalWindowTtl": 3600,
- "reconciliationWindowEnabled": false,
- "reconciliationWindowTtl": 300,
- "threeDSecure": false,
- "dynamicDescriptor": false,
- "digitalWallets": {
- "applePay": {
- "isEnabled": false,
- "displayName": "Test merchant",
- "country": "US"
}, - "googlePay": {
- "isEnabled": false,
- "merchantName": "Test merchant",
- "merchantOrigin": "www.example.com",
- "country": "US"
}
}, - "isDown": true,
- "additionalFilters": "amount:1..100;bin:411111,444433",
- "timeout": 10,
- "token": "TwiX3f92k4AiBE27BzTbQ38hHjicBz_w",
- "sticky": true,
- "setupInstruction": "authorize",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "organizationId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
], - "credentials": {
- "accountId": "string"
}, - "threeDSecureServer": {
- "name": "Other"
}
}