-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmethod.json
90 lines (90 loc) · 2.19 KB
/
method.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"name": "method",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique ID for the payment method"
},
"version": {
"type": "string",
"description": "Version assigned to the payment method"
},
"name": {
"type": "string",
"description": "Name assigned to the method, either provided or calculated"
},
"type": {
"enum": [
"CARD",
"DIGITALWALLET",
"DIRECTDEBIT",
"CRYPTOCURRENCY"
],
"description": "Payment method type"
},
"provider": {
"enum": [
"FORM",
"PAYPAL",
"APPLEPAY",
"GOOGLEPAY",
"AMAZONPAY"
],
"description": "Payment method type"
},
"inputType": {
"enum": [
"PHYSICAL",
"VIRTUAL",
"PROXY"
]
},
"paymentScheme": {
"type": "string",
"description": "Payment Scheme for the method, e.g. card_visa, paypal_business"
},
"validFrom": {
"type": "number",
"description": "Unix timestamp of the valid from date for this merthod"
},
"expiry": {
"type": "number",
"description": "Unix timestamp of the expiry date for this merthod"
},
"info": {
"type": "object",
"description": "Additional information about this payment method"
},
"status": {
"enum": [
"ACTIVE",
"PENDING",
"CANCELLED",
"SUSPENDED"
],
"description": "Status of payment method"
},
"tokenID": {
"type": "string",
"description": "Unique ID for the payments underlying token"
},
"billingProfileID": {
"type": "string",
"description": "ID for the billing profile"
},
"profileFingerprint": {
"type": "string",
"description": "Unique Fingerprint for the method across all methods by this profile"
},
"merchantFingerprint": {
"type": "string",
"description": "Unique Fingerprint for the method across the merchant"
},
"tokenExpiry": {
"type": "number",
"description": "The expiry date of the underlying token"
}
}
}