|
641 | 641 | "/cardquery": { |
642 | 642 | "post": { |
643 | 643 | "tags": [ |
644 | | - "Card" |
| 644 | + "Transaction" |
645 | 645 | ], |
646 | 646 | "summary": "Query a saved card", |
647 | 647 | "description": "Get the info about a saved bankcard", |
648 | | - "operationId": "query", |
| 648 | + "operationId": "cardquery", |
649 | 649 | "parameters": [ |
650 | 650 | { |
651 | 651 | "$ref": "#/components/parameters/Signature" |
|
696 | 696 | "history": { |
697 | 697 | "type": "array", |
698 | 698 | "items": { |
699 | | - "orerRef": { |
700 | | - "$ref": "#/components/schemas/OrderRef" |
701 | | - }, |
702 | | - "transactionId": { |
703 | | - "$ref": "#/components/schemas/TansactionId" |
704 | | - }, |
705 | | - "status": { |
706 | | - "$ref": "#/components/schemas/TransactionStatus" |
707 | | - }, |
708 | | - "paymentDate": { |
709 | | - "type": "string", |
710 | | - "description": "The ISO 8601 format of the payment date.", |
711 | | - "example": "2004-02-12T15:19:21+00:00" |
712 | | - }, |
713 | | - "finishDate": { |
714 | | - "type": "string", |
715 | | - "description": "The ISO 8601 format of the finish date.", |
716 | | - "example": "2004-02-12T15:19:21+00:00" |
| 699 | + "type": "object", |
| 700 | + "properties": { |
| 701 | + "orerRef": { |
| 702 | + "$ref": "#/components/schemas/OrderRef" |
| 703 | + }, |
| 704 | + "transactionId": { |
| 705 | + "$ref": "#/components/schemas/TransactionId" |
| 706 | + }, |
| 707 | + "status": { |
| 708 | + "$ref": "#/components/schemas/TransactionStatus" |
| 709 | + }, |
| 710 | + "paymentDate": { |
| 711 | + "type": "string", |
| 712 | + "description": "The ISO 8601 format of the payment date.", |
| 713 | + "example": "2004-02-12T15:19:21+00:00" |
| 714 | + }, |
| 715 | + "finishDate": { |
| 716 | + "type": "string", |
| 717 | + "description": "The ISO 8601 format of the finish date.", |
| 718 | + "example": "2004-02-12T15:19:21+00:00" |
| 719 | + } |
717 | 720 | } |
718 | 721 | } |
719 | 722 | } |
|
728 | 731 | "/cardcancel": { |
729 | 732 | "post": { |
730 | 733 | "tags": [ |
731 | | - "Card" |
| 734 | + "Transaction" |
732 | 735 | ], |
733 | 736 | "summary": "Cancel a saved card", |
734 | 737 | "description": "Cancel a saved bankcard", |
735 | | - "operationId": "cancel", |
| 738 | + "operationId": "cardcancel", |
736 | 739 | "parameters": [ |
737 | 740 | { |
738 | 741 | "$ref": "#/components/parameters/Signature" |
|
0 commit comments