citypay_api_client 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +7 -11
- data/citypay_api_client.gemspec +0 -1
- data/docs/Decision.md +6 -6
- data/lib/citypay_api_client.rb +2 -3
- data/lib/citypay_api_client/api/card_holder_account_api.rb +0 -1
- data/lib/citypay_api_client/api/operational_api.rb +0 -1
- data/lib/citypay_api_client/api/payment_processing_api.rb +0 -1
- data/lib/citypay_api_client/api_client.rb +7 -3
- data/lib/citypay_api_client/api_error.rb +0 -1
- data/lib/citypay_api_client/configuration.rb +0 -1
- data/lib/citypay_api_client/models/account_create.rb +0 -1
- data/lib/citypay_api_client/models/account_status.rb +0 -1
- data/lib/citypay_api_client/models/acknowledgement.rb +0 -1
- data/lib/citypay_api_client/models/airline_advice.rb +0 -1
- data/lib/citypay_api_client/models/airline_segment.rb +0 -1
- data/lib/citypay_api_client/models/auth_reference.rb +0 -1
- data/lib/citypay_api_client/models/auth_references.rb +0 -1
- data/lib/citypay_api_client/models/auth_request.rb +0 -1
- data/lib/citypay_api_client/models/auth_response.rb +0 -1
- data/lib/citypay_api_client/models/authen_required.rb +0 -1
- data/lib/citypay_api_client/models/c_res_auth_request.rb +0 -1
- data/lib/citypay_api_client/models/capture_request.rb +0 -1
- data/lib/citypay_api_client/models/card.rb +0 -1
- data/lib/citypay_api_client/models/card_holder_account.rb +0 -1
- data/lib/citypay_api_client/models/card_status.rb +0 -1
- data/lib/citypay_api_client/models/charge_request.rb +0 -1
- data/lib/citypay_api_client/models/contact_details.rb +0 -1
- data/lib/citypay_api_client/models/decision.rb +19 -20
- data/lib/citypay_api_client/models/error.rb +0 -1
- data/lib/citypay_api_client/models/external_mpi.rb +0 -1
- data/lib/citypay_api_client/models/list_merchants_response.rb +0 -1
- data/lib/citypay_api_client/models/mcc6012.rb +0 -1
- data/lib/citypay_api_client/models/merchant.rb +0 -1
- data/lib/citypay_api_client/models/pa_res_auth_request.rb +0 -1
- data/lib/citypay_api_client/models/ping.rb +0 -1
- data/lib/citypay_api_client/models/register_card.rb +0 -1
- data/lib/citypay_api_client/models/request_challenged.rb +0 -1
- data/lib/citypay_api_client/models/retrieve_request.rb +0 -1
- data/lib/citypay_api_client/models/three_d_secure.rb +0 -1
- data/lib/citypay_api_client/models/void_request.rb +0 -1
- data/lib/citypay_api_client/test.rb +20 -0
- data/lib/citypay_api_client/version.rb +1 -2
- data/spec/api/card_holder_account_api_spec.rb +0 -1
- data/spec/api/operational_api_spec.rb +0 -1
- data/spec/api/payment_processing_api_spec.rb +0 -1
- data/spec/api_client_spec.rb +0 -1
- data/spec/configuration_spec.rb +0 -1
- data/spec/models/account_create_spec.rb +0 -1
- data/spec/models/account_status_spec.rb +0 -1
- data/spec/models/acknowledgement_spec.rb +16 -6
- data/spec/models/airline_advice_spec.rb +0 -1
- data/spec/models/airline_segment_spec.rb +0 -1
- data/spec/models/api_key_spec.rb +1 -1
- data/spec/models/auth_reference_spec.rb +0 -1
- data/spec/models/auth_references_spec.rb +42 -3
- data/spec/models/auth_request_spec.rb +0 -1
- data/spec/models/auth_response_spec.rb +62 -29
- data/spec/models/authen_required_spec.rb +0 -1
- data/spec/models/c_res_auth_request_spec.rb +0 -1
- data/spec/models/capture_request_spec.rb +0 -1
- data/spec/models/card_holder_account_spec.rb +84 -9
- data/spec/models/card_spec.rb +0 -1
- data/spec/models/card_status_spec.rb +0 -1
- data/spec/models/charge_request_spec.rb +0 -1
- data/spec/models/contact_details_spec.rb +0 -1
- data/spec/models/decision_spec.rb +94 -3
- data/spec/models/error_spec.rb +0 -1
- data/spec/models/external_mpi_spec.rb +0 -1
- data/spec/models/list_merchants_response_spec.rb +40 -5
- data/spec/models/mcc6012_spec.rb +0 -1
- data/spec/models/merchant_spec.rb +0 -1
- data/spec/models/pa_res_auth_request_spec.rb +0 -1
- data/spec/models/ping_spec.rb +0 -1
- data/spec/models/register_card_spec.rb +0 -1
- data/spec/models/request_challenged_spec.rb +0 -1
- data/spec/models/retrieve_request_spec.rb +0 -1
- data/spec/models/three_d_secure_spec.rb +0 -1
- data/spec/models/void_request_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -1
- metadata +3 -3
- data/citypay_api-1.0.1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcacffed67167d3e8e56ada721388c092d65b84af4bed26d43632e2229d1a0f9
|
4
|
+
data.tar.gz: 5f92572f3894d73ccad444263a2da4caf8badc64836c28b350a3902261934493
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdd17c4bb446ff8ea52f3eec3c47521926d1a9e0b6b3e8e382438452aefb9471dbbe696f4b946c9d0eeb786b8f7aa6cdf6aad399793aa6711b8b696d890283f2
|
7
|
+
data.tar.gz: 9b5a858953c485065376757b007b47b1b8c16c74231efda218d46bad0e364a87f9cb25d6bf79233b038b5bebaefe31c07e6cb4cf1ea373343ecdb985619b630b
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# CityPay API Client for Ruby
|
2
2
|
|
3
3
|
CityPayApiClient - the Ruby gem for the CityPay Payment API
|
4
|
+
[](https://travis-ci.org/citypay/citypay-api-client-ruby)
|
4
5
|
|
5
6
|
|
6
7
|
This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It
|
@@ -32,18 +33,13 @@ Completion processing. The API is also capable of tokinsed payments using Card H
|
|
32
33
|
|
33
34
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
34
35
|
|
35
|
-
- API version: 6.0.
|
36
|
-
- Package version: 1.0.
|
36
|
+
- API version: 6.0.4
|
37
|
+
- Package version: 1.0.2
|
37
38
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
38
39
|
For more information, please visit [https://citypay.com/customer-centre/technical-support.html](https://citypay.com/customer-centre/technical-support.html)
|
39
40
|
|
40
41
|
## Installation
|
41
42
|
|
42
|
-
### Install from rubygems.org
|
43
|
-
```shell
|
44
|
-
gem install citypay_api_client
|
45
|
-
```
|
46
|
-
|
47
43
|
### Build a gem
|
48
44
|
|
49
45
|
To build the Ruby code into a gem:
|
@@ -55,16 +51,16 @@ gem build citypay_api_client.gemspec
|
|
55
51
|
Then either install the gem locally:
|
56
52
|
|
57
53
|
```shell
|
58
|
-
gem install ./citypay_api_client-1.0.
|
54
|
+
gem install ./citypay_api_client-1.0.2.gem
|
59
55
|
```
|
60
56
|
|
61
|
-
(for development, run `gem install --dev ./citypay_api_client-1.0.
|
57
|
+
(for development, run `gem install --dev ./citypay_api_client-1.0.2.gem` to install the development dependencies)
|
62
58
|
|
63
59
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
64
60
|
|
65
61
|
Finally add this to the Gemfile:
|
66
62
|
|
67
|
-
gem 'citypay_api_client', '~> 1.0.
|
63
|
+
gem 'citypay_api_client', '~> 1.0.2'
|
68
64
|
|
69
65
|
### Install from Git
|
70
66
|
|
@@ -90,7 +86,7 @@ require 'citypay_api_client'
|
|
90
86
|
|
91
87
|
# Setup authorization
|
92
88
|
CityPayApiClient.configure do |config|
|
93
|
-
config.api_key['cp-api-key'] = CityPayApiClient::ApiKey.new(client_id:
|
89
|
+
config.api_key['cp-api-key'] = CityPayApiClient::ApiKey.new(client_id: 'YourClientId', licence_key: 'YourLicenceKey').generate
|
94
90
|
end
|
95
91
|
|
96
92
|
api_instance = CityPayApiClient::CardHolderAccountApi.new
|
data/citypay_api_client.gemspec
CHANGED
@@ -5,7 +5,6 @@
|
|
5
5
|
|
6
6
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 6.0.0
|
9
8
|
Contact: support@citypay.com
|
10
9
|
Generated by: https://openapi-generator.tech
|
11
10
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
data/docs/Decision.md
CHANGED
@@ -4,18 +4,18 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
8
|
-
**
|
9
|
-
**
|
7
|
+
**authen_required** | [**AuthenRequired**](AuthenRequired.md) | | [optional]
|
8
|
+
**auth_response** | [**AuthResponse**](AuthResponse.md) | | [optional]
|
9
|
+
**request_challenged** | [**RequestChallenged**](RequestChallenged.md) | | [optional]
|
10
10
|
|
11
11
|
## Code Sample
|
12
12
|
|
13
13
|
```ruby
|
14
14
|
require 'CityPayApiClient'
|
15
15
|
|
16
|
-
instance = CityPayApiClient::Decision.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = CityPayApiClient::Decision.new(authen_required: null,
|
17
|
+
auth_response: null,
|
18
|
+
request_challenged: null)
|
19
19
|
```
|
20
20
|
|
21
21
|
|
data/lib/citypay_api_client.rb
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
=begin
|
2
2
|
#CityPay Payment API
|
3
3
|
|
4
|
-
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
4
|
+
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -22,8 +21,8 @@ require 'citypay_api_client/models/account_status'
|
|
22
21
|
require 'citypay_api_client/models/acknowledgement'
|
23
22
|
require 'citypay_api_client/models/airline_advice'
|
24
23
|
require 'citypay_api_client/models/airline_segment'
|
25
|
-
require 'citypay_api_client/models/api_key'
|
26
24
|
require 'citypay_api_client/models/auth_reference'
|
25
|
+
require "citypay_api_client/models/api_key"
|
27
26
|
require 'citypay_api_client/models/auth_references'
|
28
27
|
require 'citypay_api_client/models/auth_request'
|
29
28
|
require 'citypay_api_client/models/auth_response'
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -30,7 +29,7 @@ module CityPayApiClient
|
|
30
29
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
31
30
|
def initialize(config = Configuration.default)
|
32
31
|
@config = config
|
33
|
-
@user_agent = "OpenAPI-
|
32
|
+
@user_agent = "OpenAPI-Ruby/#{VERSION}"
|
34
33
|
@default_headers = {
|
35
34
|
'Content-Type' => 'application/json',
|
36
35
|
'User-Agent' => @user_agent
|
@@ -237,7 +236,12 @@ module CityPayApiClient
|
|
237
236
|
end
|
238
237
|
else
|
239
238
|
# models, e.g. Pet
|
240
|
-
|
239
|
+
# for models which present the model name with nested data
|
240
|
+
if !data[return_type.to_sym].nil?
|
241
|
+
CityPayApiClient.const_get(return_type).build_from_hash(data[return_type.to_sym])
|
242
|
+
else
|
243
|
+
CityPayApiClient.const_get(return_type).build_from_hash(data)
|
244
|
+
end
|
241
245
|
end
|
242
246
|
end
|
243
247
|
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -3,7 +3,6 @@
|
|
3
3
|
|
4
4
|
# This CityPay API is a HTTP RESTful payment API used for direct server to server transactional processing. It provides a number of payment mechanisms including: Internet, MOTO, Continuous Authority transaction processing, 3-D Secure decision handling using RFA Secure, Authorisation, Refunding, Pre-Authorisation, Cancellation/Voids and Completion processing. The API is also capable of tokinsed payments using Card Holder Accounts. ## Compliance and Security <aside class=\"notice\"> Before we begin a reminder that your application will need to adhere to PCI-DSS standards to operate safely and to meet requirements set out by Visa and MasterCard and the PCI Security Standards Council including: </aside> * Data must be collected using TLS version 1.2 using [strong cryptography](#enabled-tls-ciphers). We will not accept calls to our API at lower grade encryption levels. We regularly scan our TLS endpoints for vulnerabilities and perform TLS assessments as part of our compliance program. * The application must not store sensitive card holder data (CHD) such as the card security code (CSC) or primary access number (PAN) * The application must not display the full card number on receipts, it is recommended to mask the PAN and show the last 4 digits. The API will return this for you for ease of receipt creation * If you are developing a website, you will be required to perform regular scans on the network where you host the application to meet your compliance obligations * You will be required to be PCI Compliant and the application must adhere to the security standard. Further information is available from [https://www.pcisecuritystandards.org/](https://www.pcisecuritystandards.org/) * The API verifies that the request is for a valid account and originates from a trusted source using the remote IP address. Our application firewalls analyse data that may be an attempt to break a large number of security common security vulnerabilities.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 6.0.0
|
7
6
|
Contact: support@citypay.com
|
8
7
|
Generated by: https://openapi-generator.tech
|
9
8
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -14,27 +13,27 @@ require 'date'
|
|
14
13
|
|
15
14
|
module CityPayApiClient
|
16
15
|
class Decision
|
17
|
-
attr_accessor :
|
16
|
+
attr_accessor :authen_required
|
18
17
|
|
19
|
-
attr_accessor :
|
18
|
+
attr_accessor :auth_response
|
20
19
|
|
21
|
-
attr_accessor :
|
20
|
+
attr_accessor :request_challenged
|
22
21
|
|
23
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
23
|
def self.attribute_map
|
25
24
|
{
|
26
|
-
:'
|
27
|
-
:'
|
28
|
-
:'
|
25
|
+
:'authen_required' => :'AuthenRequired',
|
26
|
+
:'auth_response' => :'AuthResponse',
|
27
|
+
:'request_challenged' => :'RequestChallenged'
|
29
28
|
}
|
30
29
|
end
|
31
30
|
|
32
31
|
# Attribute type mapping.
|
33
32
|
def self.openapi_types
|
34
33
|
{
|
35
|
-
:'
|
36
|
-
:'
|
37
|
-
:'
|
34
|
+
:'authen_required' => :'AuthenRequired',
|
35
|
+
:'auth_response' => :'AuthResponse',
|
36
|
+
:'request_challenged' => :'RequestChallenged'
|
38
37
|
}
|
39
38
|
end
|
40
39
|
|
@@ -59,16 +58,16 @@ module CityPayApiClient
|
|
59
58
|
h[k.to_sym] = v
|
60
59
|
}
|
61
60
|
|
62
|
-
if attributes.key?(:'
|
63
|
-
self.
|
61
|
+
if attributes.key?(:'authen_required')
|
62
|
+
self.authen_required = attributes[:'authen_required']
|
64
63
|
end
|
65
64
|
|
66
|
-
if attributes.key?(:'
|
67
|
-
self.
|
65
|
+
if attributes.key?(:'auth_response')
|
66
|
+
self.auth_response = attributes[:'auth_response']
|
68
67
|
end
|
69
68
|
|
70
|
-
if attributes.key?(:'
|
71
|
-
self.
|
69
|
+
if attributes.key?(:'request_challenged')
|
70
|
+
self.request_challenged = attributes[:'request_challenged']
|
72
71
|
end
|
73
72
|
end
|
74
73
|
|
@@ -90,9 +89,9 @@ module CityPayApiClient
|
|
90
89
|
def ==(o)
|
91
90
|
return true if self.equal?(o)
|
92
91
|
self.class == o.class &&
|
93
|
-
|
94
|
-
|
95
|
-
|
92
|
+
authen_required == o.authen_required &&
|
93
|
+
auth_response == o.auth_response &&
|
94
|
+
request_challenged == o.request_challenged
|
96
95
|
end
|
97
96
|
|
98
97
|
# @see the `==` method
|
@@ -104,7 +103,7 @@ module CityPayApiClient
|
|
104
103
|
# Calculates hash code according to all attributes.
|
105
104
|
# @return [Integer] Hash code
|
106
105
|
def hash
|
107
|
-
[
|
106
|
+
[authen_required, auth_response, request_challenged].hash
|
108
107
|
end
|
109
108
|
|
110
109
|
# Builds the object from hash
|