Skip to content

Commit 2ff2e85

Browse files
committed
wip
1 parent c21e258 commit 2ff2e85

File tree

1 file changed

+67
-9
lines changed

1 file changed

+67
-9
lines changed

openapi.json

Lines changed: 67 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -564,13 +564,71 @@
564564
"type": "string",
565565
"example": "https://sandbox.simplepay.hu/pay/pay/pspHU/8f4oKRec5R1B696xlxbOcj1jRhhABA2pwSLQDPW60zoGSDWzDU",
566566
"description": "The 3DS challange interface URL."
567+
}
568+
}
569+
}
570+
}
571+
}
572+
}
573+
}
574+
}
575+
},
576+
"/dorecurring": {
577+
"post": {
578+
"tags": [
579+
"Transaction"
580+
],
581+
"summary": "Do a recurring transaction",
582+
"description": "Do a recurring transaction with a saved token",
583+
"operationId": "dorecurring",
584+
"parameters": [
585+
{
586+
"$ref": "#/components/parameters/Signature"
587+
}
588+
],
589+
"requestBody": {
590+
"description": "The transaction object you would init.",
591+
"required": true,
592+
"content": {
593+
"application/json": {
594+
"schema": {
595+
"$ref": "#/components/schemas/TokenTransaction"
596+
}
597+
}
598+
}
599+
},
600+
"responses": {
601+
"200": {
602+
"description": "Success response",
603+
"headers": {
604+
"Signature": {
605+
"$ref": "#/components/headers/Signature"
606+
}
607+
},
608+
"content": {
609+
"application/json": {
610+
"schema": {
611+
"properties": {
612+
"salt": {
613+
"type": "string",
614+
"example": "KAC6ZRUacmQit98nFKOpjXgkwdC0Grzl"
567615
},
568-
"tokens": {
569-
"type": "array",
570-
"items": {
571-
"$ref": "#/components/schemas/Token"
572-
},
573-
"description": "The recurring payment tokens. Provided only for the initial recurring payment."
616+
"merchant": {
617+
"type": "string",
618+
"example": "PUBLICTESTHUF"
619+
},
620+
"transactionId": {
621+
"$ref": "#/components/schemas/TransactionId"
622+
},
623+
"orderRef": {
624+
"$ref": "#/components/schemas/OrderRef"
625+
},
626+
"currency": {
627+
"$ref": "#/components/schemas/Currency"
628+
},
629+
"total": {
630+
"type": "number",
631+
"example": 25.0
574632
}
575633
}
576634
}
@@ -580,8 +638,8 @@
580638
}
581639
}
582640
},
583-
"/dorecurring": {},
584641
"/cardcancel": {},
642+
"/cardquery": {},
585643
"/tokencancel": {},
586644
"/starteam": {},
587645
"/startapplepay": {},
@@ -1096,7 +1154,7 @@
10961154
"threeDSReqAuthMethod": {
10971155
"allOf": [
10981156
{
1099-
"$ref": "#/components/schemas/AuthMethod",
1157+
"$ref": "#/components/schemas/AuthMethod"
11001158
},
11011159
{
11021160
"example": "02"
@@ -1106,7 +1164,7 @@
11061164
"type": {
11071165
"allOf": [
11081166
{
1109-
"$ref": "#/components/schemas/TransactionType",
1167+
"$ref": "#/components/schemas/TransactionType"
11101168
},
11111169
{
11121170
"example": "MIT",

0 commit comments

Comments
 (0)