fidor_schema 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +2 -0
- data/.travis.yml +14 -0
- data/CHANGELOG.md +13 -0
- data/lib/fidor_schema_version.rb +1 -1
- data/schema/v1.0/account.json +4 -0
- data/schema/v1.0/base_types/base_types.json +40 -19
- data/schema/v1.0/base_types/lists.json +31 -0
- data/schema/v1.0/batch_transfer.json +0 -1
- data/schema/v1.0/creditor_identity.json +1 -2
- data/schema/v1.0/customer.json +0 -5
- data/schema/v1.0/internal_transfer.json +0 -1
- data/schema/v1.0/overdraft.json +48 -0
- data/schema/v1.0/sepa_credit_transfer.json +4 -1
- data/schema/v1.0/sepa_direct_debit.json +2 -3
- data/schema/v1.0/transaction.json +26 -4
- data/schema/v1.0/transaction_type_details/bonus_details.json +33 -0
- data/schema/v1.0/transaction_type_details/credit_card_details.json +6 -0
- data/schema/v1.0/transaction_type_details/gmt_details.json +31 -0
- data/schema/v1.0/transaction_type_details/internal_transfer_details.json +25 -0
- data/schema/v1.0/transaction_type_details/mobile_topup_details.json +23 -0
- data/schema/v1.0/transfer_approval.json +120 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dc5099e6308916a078cd74e1e7a8912bc23be31
|
4
|
+
data.tar.gz: ccb1d0e215ddb06ff92f4f67636439b25a2f4db6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fa70a26d0950850772a127b3cbdc9c8067c269007afe09eba86d5658493984d8453dc8f92fb719260233cba04d6c07bba2ace8a16bd83ef0801989a9b22af1f
|
7
|
+
data.tar.gz: 30cbb0cd681e1c984d6ed123872070147786df4a86720d3055175f10aa32dcfd57521e3b73b60c10c939835780a832b61f5a8cefe2379ad074faa02212da64ff
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,19 @@
|
|
2
2
|
|
3
3
|
A more detailed view of the changes can be found in the [commit messages](https://github.com/fidor/fidor_schema/commits/)
|
4
4
|
|
5
|
+
##2015-06
|
6
|
+
|
7
|
+
* add transfer_approval resource
|
8
|
+
* add mobile topup transaction details
|
9
|
+
* add global money transfer(gmt) transaction details
|
10
|
+
* add sepa_credit_transfer.fee_amount
|
11
|
+
* add BIC to account
|
12
|
+
* change creditor_identifier to creditor_identity_id for sepa_direct_debit
|
13
|
+
|
14
|
+
##2015-05
|
15
|
+
* add transaction_type_details for bonus transactions
|
16
|
+
* enhance internal_transfer_details with more fields
|
17
|
+
|
5
18
|
##2015-04
|
6
19
|
* Transaction update transaction types
|
7
20
|
|
data/lib/fidor_schema_version.rb
CHANGED
data/schema/v1.0/account.json
CHANGED
@@ -17,6 +17,10 @@
|
|
17
17
|
"$ref" : "./base_types/base_types.json#definitions/iban",
|
18
18
|
"readOnly" : true
|
19
19
|
},
|
20
|
+
"bic" : {
|
21
|
+
"$ref" : "./base_types/base_types.json#definitions/bic",
|
22
|
+
"readOnly" : true
|
23
|
+
},
|
20
24
|
"balance" : {
|
21
25
|
"description" : "Account balance",
|
22
26
|
"type" : "integer",
|
@@ -21,6 +21,41 @@
|
|
21
21
|
"readOnly" : true,
|
22
22
|
"type" : "string"
|
23
23
|
},
|
24
|
+
"transaction_type" : {
|
25
|
+
"description" : "Type of the transaction",
|
26
|
+
"enum" : [
|
27
|
+
"bonus",
|
28
|
+
"credit_interest",
|
29
|
+
"creditcard_annual_fee",
|
30
|
+
"creditcard_atm_fee",
|
31
|
+
"creditcard_foreign_exchange_fee",
|
32
|
+
"creditcard_notification_fee",
|
33
|
+
"creditcard_order_cancellation",
|
34
|
+
"creditcard_order_fee",
|
35
|
+
"creditcard_order_withdrawal_fee",
|
36
|
+
"creditcard_payin",
|
37
|
+
"creditcard_payout",
|
38
|
+
"creditcard_preauth",
|
39
|
+
"creditcard_release",
|
40
|
+
"debit_interest",
|
41
|
+
"emoney_payin",
|
42
|
+
"fee",
|
43
|
+
"fidor_payin",
|
44
|
+
"fidor_payout",
|
45
|
+
"gmt_fee",
|
46
|
+
"gmt_refund",
|
47
|
+
"gmt_payout",
|
48
|
+
"payout",
|
49
|
+
"prepaid_mobile_topup",
|
50
|
+
"sepa_authorization",
|
51
|
+
"sepa_b2b_direct_debit",
|
52
|
+
"sepa_core_direct_debit",
|
53
|
+
"sepa_payin",
|
54
|
+
"unknown"
|
55
|
+
],
|
56
|
+
"type" : "string",
|
57
|
+
"maxLength" : 255
|
58
|
+
},
|
24
59
|
"phone" : {
|
25
60
|
"description" : "A phone or fax number, formatted with country code: +49 123 1233213",
|
26
61
|
"type" : "string",
|
@@ -80,7 +115,7 @@
|
|
80
115
|
"currency" : {
|
81
116
|
"description" : "Currency of Account or Amount. ISO 4217 alpha-3 - 3 letter upcase e.g EUR",
|
82
117
|
"type" : "string",
|
83
|
-
"enum" : ["EUR"],
|
118
|
+
"enum" : ["EUR", "GBP"],
|
84
119
|
"default" : "EUR"
|
85
120
|
},
|
86
121
|
"subject" : {
|
@@ -93,24 +128,10 @@
|
|
93
128
|
"type" : "integer",
|
94
129
|
"minimum" : 1
|
95
130
|
},
|
96
|
-
"
|
97
|
-
"description"
|
98
|
-
"
|
99
|
-
|
100
|
-
"creditcard_payout",
|
101
|
-
"creditcard_authorization",
|
102
|
-
"creditcard_cancellation",
|
103
|
-
"fee",
|
104
|
-
"sepa_payin",
|
105
|
-
"sepa_core_direct_debit",
|
106
|
-
"sepa_b2b_direct_debit",
|
107
|
-
"fidor_payin",
|
108
|
-
"fidor_payout",
|
109
|
-
"sepa_authorization",
|
110
|
-
"emoney_payin",
|
111
|
-
"gmt_payout"
|
112
|
-
],
|
113
|
-
"type" : "string"
|
131
|
+
"fee" : {
|
132
|
+
"description" : "A fee amount in account currency, in minor units, e.g. 1EUR is represented as 100.",
|
133
|
+
"type" : "integer",
|
134
|
+
"minimum" : 0
|
114
135
|
}
|
115
136
|
}
|
116
137
|
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
"type" : "object",
|
3
|
+
"title" : "List",
|
4
|
+
"name" : "list",
|
5
|
+
"description" : "A paginated list of objects",
|
6
|
+
"properties" : {
|
7
|
+
"data" : {
|
8
|
+
"description" : "The requested objects",
|
9
|
+
"type" : "array"
|
10
|
+
},
|
11
|
+
"collection" : {
|
12
|
+
"type" : "object",
|
13
|
+
"name" : "collection",
|
14
|
+
"description" : "Pagination information for a list of returned object (not standalone)",
|
15
|
+
"properties" : {
|
16
|
+
"current_page" : {
|
17
|
+
"type" : "integer"
|
18
|
+
},
|
19
|
+
"per_page" : {
|
20
|
+
"type" : "integer"
|
21
|
+
},
|
22
|
+
"total_entries" : {
|
23
|
+
"type" : "integer"
|
24
|
+
},
|
25
|
+
"total_pages" : {
|
26
|
+
"type" : "integer"
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema" : "http://json-schema.org/draft-04/schema#",
|
3
3
|
"type" : "object",
|
4
4
|
"title" : "creditor_identity",
|
5
|
-
"description" : "Information about creditor identity. You have to provide the
|
5
|
+
"description" : "Information about creditor identity. You have to provide the creditor identity you want to create a sepa mandate with",
|
6
6
|
"properties" : {
|
7
7
|
"id" : {
|
8
8
|
"$ref" : "./base_types/base_types.json#definitions/id"
|
@@ -30,7 +30,6 @@
|
|
30
30
|
"properties" : {
|
31
31
|
"filter[account_ids]" : {
|
32
32
|
"title" : "Find creditor identities belonging to the given account ids. Single id or multiple ids comma-separated.",
|
33
|
-
"format" : "date",
|
34
33
|
"type" : "string"
|
35
34
|
},
|
36
35
|
"page" : {
|
data/schema/v1.0/customer.json
CHANGED
@@ -112,11 +112,6 @@
|
|
112
112
|
"format" : "date-time",
|
113
113
|
"readOnly" : true
|
114
114
|
},
|
115
|
-
"creditor_identifier" : {
|
116
|
-
"description" : "Creditor Identifier ID set if the customer wants to create direct debits.",
|
117
|
-
"type" : "string",
|
118
|
-
"readOnly" : true
|
119
|
-
},
|
120
115
|
"is_verified" : {
|
121
116
|
"description" : "Indicates whether KYC has been performed.",
|
122
117
|
"type" : "boolean",
|
@@ -0,0 +1,48 @@
|
|
1
|
+
{
|
2
|
+
"$schema" : "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type" : "object",
|
4
|
+
"title" : "overdraft",
|
5
|
+
"description" : "This feature allows customers that are considered trustworthy to use more money than they actually have, based on some criteria",
|
6
|
+
"properties" : {
|
7
|
+
"id" : {
|
8
|
+
"$ref" : "./base_types/base_types.json#definitions/id"
|
9
|
+
},
|
10
|
+
"account_id" : {
|
11
|
+
"description" : "The external account id.",
|
12
|
+
"type" : "string",
|
13
|
+
"maxLength" : 8,
|
14
|
+
"readOnly" : true
|
15
|
+
},
|
16
|
+
"line" : {
|
17
|
+
"description" : "Overdraft line",
|
18
|
+
"type" : "integer",
|
19
|
+
"readOnly" : true
|
20
|
+
},
|
21
|
+
"interest_rate" : {
|
22
|
+
"description" : "Interest based on the balance of the account",
|
23
|
+
"type" : "number",
|
24
|
+
"readOnly" : true
|
25
|
+
},
|
26
|
+
"active" : {
|
27
|
+
"description" : "",
|
28
|
+
"type" : "boolean",
|
29
|
+
"readOnly" : true
|
30
|
+
},
|
31
|
+
"created_at" : {
|
32
|
+
"$ref" : "./base_types/base_types.json#definitions/created_at"
|
33
|
+
},
|
34
|
+
"updated_at" : {
|
35
|
+
"$ref" : "./base_types/base_types.json#definitions/updated_at"
|
36
|
+
},
|
37
|
+
"currency" : {
|
38
|
+
"$ref" : "./base_types/base_types.json#definitions/currency",
|
39
|
+
"readOnly" : true
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"links" : [
|
43
|
+
{
|
44
|
+
"rel" : "self",
|
45
|
+
"href" : "overdrafts/{id}"
|
46
|
+
}
|
47
|
+
]
|
48
|
+
}
|
@@ -31,6 +31,10 @@
|
|
31
31
|
"$ref" : "./base_types/base_types.json#definitions/currency",
|
32
32
|
"readOnly" : true
|
33
33
|
},
|
34
|
+
"fee_amount" : {
|
35
|
+
"$ref" : "./base_types/base_types.json#definitions/fee",
|
36
|
+
"readOnly" : true
|
37
|
+
},
|
34
38
|
"remote_name" : {
|
35
39
|
"description" : "Receiving account holder name",
|
36
40
|
"type" : "string",
|
@@ -72,7 +76,6 @@
|
|
72
76
|
"properties" : {
|
73
77
|
"filter[account_ids]" : {
|
74
78
|
"description" : "Find transfers belonging to the given account ids. Single id or multiple ids comma-separated.",
|
75
|
-
"format" : "date-time",
|
76
79
|
"type" : "string"
|
77
80
|
},
|
78
81
|
"filter[created_at_from]" : {
|
@@ -21,8 +21,8 @@
|
|
21
21
|
"description" : "The sepa mandate used by the debit",
|
22
22
|
"type" : "string"
|
23
23
|
},
|
24
|
-
"
|
25
|
-
"description" : "
|
24
|
+
"creditor_identity_id" : {
|
25
|
+
"description" : "Unique identifier of the creditor sepa mandate has been created with",
|
26
26
|
"type" : "string",
|
27
27
|
"readOnly" : true
|
28
28
|
},
|
@@ -74,7 +74,6 @@
|
|
74
74
|
"properties" : {
|
75
75
|
"filter[account_ids]" : {
|
76
76
|
"title" : "Find direct debits belonging to the given account ids. Single id or multiple ids comma-separated.",
|
77
|
-
"format" : "date-time",
|
78
77
|
"type" : "string"
|
79
78
|
},
|
80
79
|
"filter[created_at_from]" : {
|
@@ -21,20 +21,32 @@
|
|
21
21
|
"type" : "object",
|
22
22
|
"oneOf" : [
|
23
23
|
{
|
24
|
-
"title"
|
24
|
+
"title": "credit_card_details",
|
25
25
|
"$ref" : "./transaction_type_details/credit_card_details.json#"
|
26
26
|
},
|
27
27
|
{
|
28
|
-
"title"
|
28
|
+
"title": "internal_transfer_details",
|
29
29
|
"$ref" : "./transaction_type_details/internal_transfer_details.json#"
|
30
30
|
},
|
31
31
|
{
|
32
|
-
"title"
|
32
|
+
"title": "sepa_credit_transfer_details",
|
33
33
|
"$ref" : "./transaction_type_details/sepa_credit_transfer_details.json#"
|
34
34
|
},
|
35
35
|
{
|
36
|
-
"title"
|
36
|
+
"title": "sepa_direct_debit_details",
|
37
37
|
"$ref" : "./transaction_type_details/sepa_direct_debit_details.json#"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"title": "gmt_details",
|
41
|
+
"$ref" : "./transaction_type_details/gmt_details.json#"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"title": "bonus_details",
|
45
|
+
"$ref" : "./transaction_type_details/bonus_details.json#"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"title": "mobile_topup_details",
|
49
|
+
"$ref" : "./transaction_type_details/mobile_topup_details.json#"
|
38
50
|
}
|
39
51
|
]
|
40
52
|
},
|
@@ -114,6 +126,16 @@
|
|
114
126
|
"format" : "date-time",
|
115
127
|
"type" : "string"
|
116
128
|
},
|
129
|
+
"filter[value_date_from]" : {
|
130
|
+
"title" : "Date filter from >= date. ISO 8601 Date",
|
131
|
+
"format" : "date-time",
|
132
|
+
"type" : "string"
|
133
|
+
},
|
134
|
+
"filter[value_date_to]" : {
|
135
|
+
"title" : "Date filter to <= date. ISO 8601 Date",
|
136
|
+
"format" : "date-time",
|
137
|
+
"type" : "string"
|
138
|
+
},
|
117
139
|
"filter[transaction_types]" : {
|
118
140
|
"$ref" : "./base_types/base_types.json#definitions/transaction_type",
|
119
141
|
"title" : "By transaction types"
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{
|
2
|
+
"$schema" : "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type" : "object",
|
4
|
+
"title" : "bonus_details",
|
5
|
+
"description" : "Information about bonus available in a bonus transaction",
|
6
|
+
"properties" : {
|
7
|
+
"affiliate_id" : {
|
8
|
+
"description" : "An affiliate identifier",
|
9
|
+
"type" : "string",
|
10
|
+
"readOnly" : true
|
11
|
+
},
|
12
|
+
"affiliate_name" : {
|
13
|
+
"description" : "Name of the affiliate",
|
14
|
+
"type" : "string",
|
15
|
+
"readOnly" : true
|
16
|
+
},
|
17
|
+
"affiliate_transaction_type_id" : {
|
18
|
+
"description" : "Identifier of the transaction type",
|
19
|
+
"type" : "string",
|
20
|
+
"readOnly" : true
|
21
|
+
},
|
22
|
+
"affiliate_transaction_type_name" : {
|
23
|
+
"description" : "The name of the transaction type",
|
24
|
+
"type" : "string",
|
25
|
+
"readOnly" : true
|
26
|
+
},
|
27
|
+
"affiliate_transaction_type_category" : {
|
28
|
+
"description" : "The category of the transaction type, e.g. Community, Banking, Bonusprogramm",
|
29
|
+
"type" : "string",
|
30
|
+
"readOnly" : true
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{
|
2
|
+
"$schema" : "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type" : "object",
|
4
|
+
"title" : "gmt_details",
|
5
|
+
"description" : "Information about details of the global money transfer transaction",
|
6
|
+
"properties" : {
|
7
|
+
"destination_country" : {
|
8
|
+
"$ref" : "../base_types/base_types.json#definitions/country",
|
9
|
+
"readOnly" : true
|
10
|
+
},
|
11
|
+
"destination_currency" : {
|
12
|
+
"$ref" : "../base_types/base_types.json#definitions/currency",
|
13
|
+
"readOnly" : true
|
14
|
+
},
|
15
|
+
"amount_in_destination_currency" : {
|
16
|
+
"description" : "Amount transferred in the destination currency",
|
17
|
+
"$ref" : "../base_types/base_types.json#definitions/amount",
|
18
|
+
"readOnly" : true
|
19
|
+
},
|
20
|
+
"exchange_rate" : {
|
21
|
+
"description" : "Exchange rate valid at the time the transfer has been performed",
|
22
|
+
"type" : "number",
|
23
|
+
"readOnly" : true
|
24
|
+
},
|
25
|
+
"fee_transaction_id" : {
|
26
|
+
"description" : "A unique identifier of the fee transaction that belongs to the gmt transaction",
|
27
|
+
"type" : "string",
|
28
|
+
"readOnly" : true
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
@@ -12,6 +12,31 @@
|
|
12
12
|
"description" : "Id of transfer if transaction was created by a transfer. Refunded transactions have no id",
|
13
13
|
"readOnly" : true,
|
14
14
|
"type" : "string"
|
15
|
+
},
|
16
|
+
"remote_bic" : {
|
17
|
+
"description" : "BIC of the transaction's sender",
|
18
|
+
"readOnly" : true,
|
19
|
+
"type" : "string"
|
20
|
+
},
|
21
|
+
"remote_iban" : {
|
22
|
+
"description" : "IBAN of the transaction's sender",
|
23
|
+
"readOnly" : true,
|
24
|
+
"type" : "string"
|
25
|
+
},
|
26
|
+
"remote_name" : {
|
27
|
+
"description" : "Full name of the transaction's sender",
|
28
|
+
"readOnly" : true,
|
29
|
+
"type" : "string"
|
30
|
+
},
|
31
|
+
"remote_nick" : {
|
32
|
+
"description" : "Community nickname of the transaction's sender",
|
33
|
+
"readOnly" : true,
|
34
|
+
"type" : "string"
|
35
|
+
},
|
36
|
+
"remote_subject" : {
|
37
|
+
"description" : "Subject of the transaction",
|
38
|
+
"readOnly" : true,
|
39
|
+
"type" : "string"
|
15
40
|
}
|
16
41
|
}
|
17
42
|
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"$schema" : "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type" : "object",
|
4
|
+
"title" : "mobile_topup_details",
|
5
|
+
"description" : "Information about mobile topup",
|
6
|
+
"properties" : {
|
7
|
+
"provider" : {
|
8
|
+
"description" : "The name of the mobile network operator",
|
9
|
+
"type" : "string",
|
10
|
+
"readOnly" : true
|
11
|
+
},
|
12
|
+
"phone_number" : {
|
13
|
+
"description" : "Mobile phone number user for topup",
|
14
|
+
"type" : "string",
|
15
|
+
"readOnly" : true
|
16
|
+
},
|
17
|
+
"topup_subject" : {
|
18
|
+
"description" : "Subject of the mobile topup",
|
19
|
+
"type" : "string",
|
20
|
+
"readOnly" : true
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
@@ -0,0 +1,120 @@
|
|
1
|
+
{
|
2
|
+
"$schema" : "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type" : "object",
|
4
|
+
"title" : "transfer_approval",
|
5
|
+
"description" : "A transfer approval is created each time when transfer is being initiated from an escrow (trust) account",
|
6
|
+
"properties" : {
|
7
|
+
"id" : {
|
8
|
+
"$ref" : "./base_types/base_types.json#definitions/id"
|
9
|
+
},
|
10
|
+
"transfer_id" : {
|
11
|
+
"description" : "The unique identifier of the tranfer, once it has been approved",
|
12
|
+
"type" : "string",
|
13
|
+
"readOnly" : true
|
14
|
+
},
|
15
|
+
"transfer_type" : {
|
16
|
+
"description" : "The type of the transfer",
|
17
|
+
"type" : "integer",
|
18
|
+
"readOnly" : true
|
19
|
+
},
|
20
|
+
"state" : {
|
21
|
+
"description" : "State of the transfer approval. pending: We received you approval request | approved: Your transfer has been approved | rejected: Your transfer has been rejected | uninitiated: Transfer couldn't not be created | invalid : Something went wrong",
|
22
|
+
"enum" : [
|
23
|
+
"pending",
|
24
|
+
"approved",
|
25
|
+
"rejected",
|
26
|
+
"uninitiated",
|
27
|
+
"invalid"
|
28
|
+
],
|
29
|
+
"type" : "string",
|
30
|
+
"readOnly" : true
|
31
|
+
},
|
32
|
+
"created_at" : {
|
33
|
+
"$ref" : "./base_types/base_types.json#definitions/created_at"
|
34
|
+
},
|
35
|
+
"updated_at" : {
|
36
|
+
"$ref" : "./base_types/base_types.json#definitions/updated_at"
|
37
|
+
},
|
38
|
+
"approved_at" : {
|
39
|
+
"description" : "Approval date-time, never changes. ISO 8601 Date-Time",
|
40
|
+
"format" : "date-time",
|
41
|
+
"type" : "string",
|
42
|
+
"readOnly" : true
|
43
|
+
},
|
44
|
+
"rejected_at" : {
|
45
|
+
"description" : "Rejection update date-time. ISO 8601 Date-Time",
|
46
|
+
"format" : "date-time",
|
47
|
+
"type" : "string",
|
48
|
+
"readOnly" : true
|
49
|
+
},
|
50
|
+
"transfer_details" : {
|
51
|
+
"type": "object",
|
52
|
+
"oneOf": [
|
53
|
+
{
|
54
|
+
"title" : "internal_transfer",
|
55
|
+
"$ref": "./internal_transfer.json"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"title" : "sepa_credit_transfer",
|
59
|
+
"$ref": "./sepa_credit_transfer.json"
|
60
|
+
}
|
61
|
+
]
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"links" : [
|
65
|
+
{
|
66
|
+
"rel" : "self",
|
67
|
+
"href" : "transfer_approvals/{id}"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"rel" : "instances",
|
71
|
+
"href" : "transfer_approvals",
|
72
|
+
"properties" : {
|
73
|
+
"filter[transfer_ids]" : {
|
74
|
+
"title" : "Find transfer approvals belonging to the given transfer ids. Single id or multiple ids comma-separated.",
|
75
|
+
"type" : "string"
|
76
|
+
},
|
77
|
+
"filter[created_at_from]" : {
|
78
|
+
"title" : "Creation date filter from >= date",
|
79
|
+
"format" : "date-time",
|
80
|
+
"type" : "string"
|
81
|
+
},
|
82
|
+
"filter[created_at_to]" : {
|
83
|
+
"title" : "Creation date filter to <= date",
|
84
|
+
"format" : "date-time",
|
85
|
+
"type" : "string"
|
86
|
+
},
|
87
|
+
"filter[states]" : {
|
88
|
+
"title" : "Filter by single or multiple csv delimited states",
|
89
|
+
"enum" : [
|
90
|
+
"pending",
|
91
|
+
"approved",
|
92
|
+
"rejected",
|
93
|
+
"uninitiated",
|
94
|
+
"invalid"
|
95
|
+
],
|
96
|
+
"type" : "string"
|
97
|
+
},
|
98
|
+
"page" : {
|
99
|
+
"title" : "Page",
|
100
|
+
"description" : "In paginated results set the page to look for",
|
101
|
+
"type" : "integer"
|
102
|
+
},
|
103
|
+
"per_page" : {
|
104
|
+
"title" : "Per page",
|
105
|
+
"description" : "Results per page. Default is 10, max is 100",
|
106
|
+
"type" : "integer"
|
107
|
+
},
|
108
|
+
"sort" : {
|
109
|
+
"title" : "Sort",
|
110
|
+
"enum" : [
|
111
|
+
"ASC",
|
112
|
+
"DESC"
|
113
|
+
],
|
114
|
+
"description" : "Sort the results in ASC or DESC",
|
115
|
+
"type" : "string"
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
]
|
120
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fidor_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georg Leciejewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -145,6 +145,8 @@ extensions: []
|
|
145
145
|
extra_rdoc_files: []
|
146
146
|
files:
|
147
147
|
- ".gitignore"
|
148
|
+
- ".rspec"
|
149
|
+
- ".travis.yml"
|
148
150
|
- CHANGELOG.md
|
149
151
|
- Gemfile
|
150
152
|
- README.md
|
@@ -161,21 +163,27 @@ files:
|
|
161
163
|
- lib/validator/schema.json
|
162
164
|
- schema/v1.0/account.json
|
163
165
|
- schema/v1.0/base_types/base_types.json
|
166
|
+
- schema/v1.0/base_types/lists.json
|
164
167
|
- schema/v1.0/batch_direct_debit.json
|
165
168
|
- schema/v1.0/batch_transfer.json
|
166
169
|
- schema/v1.0/creditor_identity.json
|
167
170
|
- schema/v1.0/customer.json
|
168
171
|
- schema/v1.0/error.json
|
169
172
|
- schema/v1.0/internal_transfer.json
|
173
|
+
- schema/v1.0/overdraft.json
|
170
174
|
- schema/v1.0/rate_limit.json
|
171
175
|
- schema/v1.0/sepa_credit_transfer.json
|
172
176
|
- schema/v1.0/sepa_direct_debit.json
|
173
177
|
- schema/v1.0/sepa_mandate.json
|
174
178
|
- schema/v1.0/transaction.json
|
179
|
+
- schema/v1.0/transaction_type_details/bonus_details.json
|
175
180
|
- schema/v1.0/transaction_type_details/credit_card_details.json
|
181
|
+
- schema/v1.0/transaction_type_details/gmt_details.json
|
176
182
|
- schema/v1.0/transaction_type_details/internal_transfer_details.json
|
183
|
+
- schema/v1.0/transaction_type_details/mobile_topup_details.json
|
177
184
|
- schema/v1.0/transaction_type_details/sepa_credit_transfer_details.json
|
178
185
|
- schema/v1.0/transaction_type_details/sepa_direct_debit_details.json
|
186
|
+
- schema/v1.0/transfer_approval.json
|
179
187
|
- schema/v1.0/user.json
|
180
188
|
- spec/fidor_schema_spec.rb
|
181
189
|
- spec/spec_helper.rb
|