This repository has been archived by the owner on Sep 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
payment-WALLET.json
91 lines (91 loc) · 2.83 KB
/
payment-WALLET.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
91
{
"key": "payment-WALLET",
"name": {
"en": "CTP Standard Payment Resource for Wallets like PayPal"
},
"description": {
"en": "extends the CTP Payment Resource with minimalistic standard fields for a Wallet Payment with redirect checkout."
},
"resourceTypeIds": [
"payment"
],
"fieldDefinitions": [
{
"name": "languageCode",
"type": {
"name": "String"
},
"label": {
"en": "Hint to the PSP integration service, which language to take from CTP LString / LEnum data. ISO language code."
},
"required": true,
"inputHint": "SingleLine"
},
{
"name": "reference",
"type": {
"name": "String"
},
"label": {
"en": "Short reference code to appear as first item in the client's bank account. Must be unique across all payments with the given PSP. Should be globally unique."
},
"required": true,
"inputHint": "SingleLine"
},
{
"name": "referenceText",
"type": {
"name": "String"
},
"label": {
"en": "Text to appear in the account or credit card statement as well as the wallet account in addition to the reference ID which defaults to the Order Number"
},
"required": false,
"inputHint": "MultiLine"
},
{
"name": "redirectUrl",
"type": {
"name": "String"
},
"label": {
"en": "Redirect URL passed from the PSP integration to the frontend. If this field is set, it represents an instruction to the client implememtation to immediately redirect the User to the given place. Can / should be removed when the user hits the succes / error / cancel URLs."
},
"required": false,
"inputHint": "SingleLine"
},
{
"name": "successUrl",
"type": {
"name": "String"
},
"label": {
"en": "Absolute URL set by the checkout client implementation that tells the PSP where to direct the Client after the steps in a redirect flow have been completed successfully."
},
"required": false,
"inputHint": "SingleLine"
},
{
"name": "errorUrl",
"type": {
"name": "String"
},
"label": {
"en": "Absolute URL set by the checkout client implementation that tells the PSP where to direct the Client when a technical error has happened or the transaction has been denied in a redirect flow."
},
"required": false,
"inputHint": "SingleLine"
},
{
"name": "cancelUrl",
"type": {
"name": "String"
},
"label": {
"en": "Absolute URL set by the checkout client implementation that tells the PSP where to direct the Client when the client has used a function in the redirect flow that cancels the process."
},
"required": false,
"inputHint": "SingleLine"
}
]
}