|
564 | 564 | "type": "string", |
565 | 565 | "example": "https://sandbox.simplepay.hu/pay/pay/pspHU/8f4oKRec5R1B696xlxbOcj1jRhhABA2pwSLQDPW60zoGSDWzDU", |
566 | 566 | "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" |
567 | 615 | }, |
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 |
574 | 632 | } |
575 | 633 | } |
576 | 634 | } |
|
580 | 638 | } |
581 | 639 | } |
582 | 640 | }, |
583 | | - "/dorecurring": {}, |
584 | 641 | "/cardcancel": {}, |
| 642 | + "/cardquery": {}, |
585 | 643 | "/tokencancel": {}, |
586 | 644 | "/starteam": {}, |
587 | 645 | "/startapplepay": {}, |
|
1096 | 1154 | "threeDSReqAuthMethod": { |
1097 | 1155 | "allOf": [ |
1098 | 1156 | { |
1099 | | - "$ref": "#/components/schemas/AuthMethod", |
| 1157 | + "$ref": "#/components/schemas/AuthMethod" |
1100 | 1158 | }, |
1101 | 1159 | { |
1102 | 1160 | "example": "02" |
|
1106 | 1164 | "type": { |
1107 | 1165 | "allOf": [ |
1108 | 1166 | { |
1109 | | - "$ref": "#/components/schemas/TransactionType", |
| 1167 | + "$ref": "#/components/schemas/TransactionType" |
1110 | 1168 | }, |
1111 | 1169 | { |
1112 | 1170 | "example": "MIT", |
|
0 commit comments