|
312 | 312 | "schema": {
|
313 | 313 | "type": "string"
|
314 | 314 | }
|
315 |
| - } |
316 |
| - ], |
317 |
| - "requestBody": { |
318 |
| - "content": { |
319 |
| - "application/json": { |
320 |
| - "schema": { |
321 |
| - "$ref": "#/components/schemas/PaymentRetrieveBody" |
322 |
| - } |
| 315 | + }, |
| 316 | + { |
| 317 | + "name": "force_sync", |
| 318 | + "in": "query", |
| 319 | + "description": "Decider to enable or disable the connector call for retrieve request", |
| 320 | + "required": false, |
| 321 | + "schema": { |
| 322 | + "type": "boolean", |
| 323 | + "nullable": true |
323 | 324 | }
|
324 | 325 | },
|
325 |
| - "required": true |
326 |
| - }, |
| 326 | + { |
| 327 | + "name": "client_secret", |
| 328 | + "in": "query", |
| 329 | + "description": "This is a token which expires after 15 minutes, used from the client to authenticate and create sessions from the SDK", |
| 330 | + "required": false, |
| 331 | + "schema": { |
| 332 | + "type": "string", |
| 333 | + "nullable": true |
| 334 | + } |
| 335 | + }, |
| 336 | + { |
| 337 | + "name": "expand_attempts", |
| 338 | + "in": "query", |
| 339 | + "description": "If enabled provides list of attempts linked to payment intent", |
| 340 | + "required": false, |
| 341 | + "schema": { |
| 342 | + "type": "boolean", |
| 343 | + "nullable": true |
| 344 | + } |
| 345 | + }, |
| 346 | + { |
| 347 | + "name": "expand_captures", |
| 348 | + "in": "query", |
| 349 | + "description": "If enabled provides list of captures linked to latest attempt", |
| 350 | + "required": false, |
| 351 | + "schema": { |
| 352 | + "type": "boolean", |
| 353 | + "nullable": true |
| 354 | + } |
| 355 | + } |
| 356 | + ], |
327 | 357 | "responses": {
|
328 | 358 | "200": {
|
329 | 359 | "description": "Gets the payment with final status",
|
|
592 | 622 | "description": "To list the *payments*",
|
593 | 623 | "operationId": "List all Payments",
|
594 | 624 | "parameters": [
|
595 |
| - { |
596 |
| - "name": "customer_id", |
597 |
| - "in": "query", |
598 |
| - "description": "The identifier for the customer", |
599 |
| - "required": true, |
600 |
| - "schema": { |
601 |
| - "type": "string" |
602 |
| - } |
603 |
| - }, |
604 | 625 | {
|
605 | 626 | "name": "starting_after",
|
606 | 627 | "in": "query",
|
607 | 628 | "description": "A cursor for use in pagination, fetch the next list after some object",
|
608 |
| - "required": true, |
| 629 | + "required": false, |
609 | 630 | "schema": {
|
610 |
| - "type": "string" |
| 631 | + "type": "string", |
| 632 | + "nullable": true |
611 | 633 | }
|
612 | 634 | },
|
613 | 635 | {
|
614 | 636 | "name": "ending_before",
|
615 | 637 | "in": "query",
|
616 | 638 | "description": "A cursor for use in pagination, fetch the previous list before some object",
|
617 |
| - "required": true, |
| 639 | + "required": false, |
618 | 640 | "schema": {
|
619 |
| - "type": "string" |
| 641 | + "type": "string", |
| 642 | + "nullable": true |
620 | 643 | }
|
621 | 644 | },
|
622 | 645 | {
|
623 | 646 | "name": "limit",
|
624 | 647 | "in": "query",
|
625 | 648 | "description": "Limit on the number of objects to return",
|
626 |
| - "required": true, |
| 649 | + "required": false, |
627 | 650 | "schema": {
|
628 | 651 | "type": "integer",
|
629 |
| - "format": "int64" |
| 652 | + "format": "int64", |
| 653 | + "nullable": true |
630 | 654 | }
|
631 | 655 | },
|
632 | 656 | {
|
633 | 657 | "name": "created",
|
634 | 658 | "in": "query",
|
635 | 659 | "description": "The time at which payment is created",
|
636 |
| - "required": true, |
| 660 | + "required": false, |
637 | 661 | "schema": {
|
638 | 662 | "type": "string",
|
639 |
| - "format": "date-time" |
| 663 | + "format": "date-time", |
| 664 | + "nullable": true |
640 | 665 | }
|
641 | 666 | },
|
642 | 667 | {
|
643 | 668 | "name": "created_lt",
|
644 | 669 | "in": "query",
|
645 | 670 | "description": "Time less than the payment created time",
|
646 |
| - "required": true, |
| 671 | + "required": false, |
647 | 672 | "schema": {
|
648 | 673 | "type": "string",
|
649 |
| - "format": "date-time" |
| 674 | + "format": "date-time", |
| 675 | + "nullable": true |
650 | 676 | }
|
651 | 677 | },
|
652 | 678 | {
|
653 | 679 | "name": "created_gt",
|
654 | 680 | "in": "query",
|
655 | 681 | "description": "Time greater than the payment created time",
|
656 |
| - "required": true, |
| 682 | + "required": false, |
657 | 683 | "schema": {
|
658 | 684 | "type": "string",
|
659 |
| - "format": "date-time" |
| 685 | + "format": "date-time", |
| 686 | + "nullable": true |
660 | 687 | }
|
661 | 688 | },
|
662 | 689 | {
|
663 | 690 | "name": "created_lte",
|
664 | 691 | "in": "query",
|
665 | 692 | "description": "Time less than or equals to the payment created time",
|
666 |
| - "required": true, |
| 693 | + "required": false, |
667 | 694 | "schema": {
|
668 | 695 | "type": "string",
|
669 |
| - "format": "date-time" |
| 696 | + "format": "date-time", |
| 697 | + "nullable": true |
670 | 698 | }
|
671 | 699 | },
|
672 | 700 | {
|
673 | 701 | "name": "created_gte",
|
674 | 702 | "in": "query",
|
675 | 703 | "description": "Time greater than or equals to the payment created time",
|
676 |
| - "required": true, |
| 704 | + "required": false, |
677 | 705 | "schema": {
|
678 | 706 | "type": "string",
|
679 |
| - "format": "date-time" |
| 707 | + "format": "date-time", |
| 708 | + "nullable": true |
680 | 709 | }
|
681 | 710 | }
|
682 | 711 | ],
|
|
918 | 947 | ],
|
919 | 948 | "summary": "Payments - Post Session Tokens",
|
920 | 949 | "operationId": "Create Post Session Tokens for a Payment",
|
| 950 | + "parameters": [ |
| 951 | + { |
| 952 | + "name": "payment_id", |
| 953 | + "in": "path", |
| 954 | + "description": "The identifier for payment", |
| 955 | + "required": true, |
| 956 | + "schema": { |
| 957 | + "type": "string" |
| 958 | + } |
| 959 | + } |
| 960 | + ], |
921 | 961 | "requestBody": {
|
922 | 962 | "content": {
|
923 | 963 | "application/json": {
|
|
957 | 997 | ],
|
958 | 998 | "summary": "Payments - Update Metadata",
|
959 | 999 | "operationId": "Update Metadata for a Payment",
|
| 1000 | + "parameters": [ |
| 1001 | + { |
| 1002 | + "name": "payment_id", |
| 1003 | + "in": "path", |
| 1004 | + "description": "The identifier for payment", |
| 1005 | + "required": true, |
| 1006 | + "schema": { |
| 1007 | + "type": "string" |
| 1008 | + } |
| 1009 | + } |
| 1010 | + ], |
960 | 1011 | "requestBody": {
|
961 | 1012 | "content": {
|
962 | 1013 | "application/json": {
|
|
1073 | 1124 | "description": "Retrieves a relay details.",
|
1074 | 1125 | "operationId": "Retrieve a Relay details",
|
1075 | 1126 | "parameters": [
|
| 1127 | + { |
| 1128 | + "name": "relay_id", |
| 1129 | + "in": "path", |
| 1130 | + "description": "The unique identifier for the Relay", |
| 1131 | + "required": true, |
| 1132 | + "schema": { |
| 1133 | + "type": "string" |
| 1134 | + } |
| 1135 | + }, |
1076 | 1136 | {
|
1077 | 1137 | "name": "X-Profile-Id",
|
1078 | 1138 | "in": "header",
|
|
1735 | 1795 | "summary": "Merchant Connector - Create",
|
1736 | 1796 | "description": "Creates a new Merchant Connector for the merchant account. The connector could be a payment processor/facilitator/acquirer or a provider of specialized services like Fraud/Accounting etc.",
|
1737 | 1797 | "operationId": "Create a Merchant Connector",
|
| 1798 | + "parameters": [ |
| 1799 | + { |
| 1800 | + "name": "account_id", |
| 1801 | + "in": "path", |
| 1802 | + "description": "The unique identifier for the merchant account", |
| 1803 | + "required": true, |
| 1804 | + "schema": { |
| 1805 | + "type": "string" |
| 1806 | + } |
| 1807 | + } |
| 1808 | + ], |
1738 | 1809 | "requestBody": {
|
1739 | 1810 | "content": {
|
1740 | 1811 | "application/json": {
|
|
2286 | 2357 | "summary": "Mandates - Customer Mandates List",
|
2287 | 2358 | "description": "Lists all the mandates for a particular customer id.",
|
2288 | 2359 | "operationId": "List Mandates for a Customer",
|
| 2360 | + "parameters": [ |
| 2361 | + { |
| 2362 | + "name": "customer_id", |
| 2363 | + "in": "path", |
| 2364 | + "description": "The unique identifier for the customer", |
| 2365 | + "required": true, |
| 2366 | + "schema": { |
| 2367 | + "type": "string" |
| 2368 | + } |
| 2369 | + } |
| 2370 | + ], |
2289 | 2371 | "responses": {
|
2290 | 2372 | "200": {
|
2291 | 2373 | "description": "List of retrieved mandates for a customer",
|
|
2810 | 2892 | ],
|
2811 | 2893 | "summary": "List customer saved payment methods for a Payment",
|
2812 | 2894 | "description": "Lists all the applicable payment methods for a particular payment tied to the `client_secret`.",
|
2813 |
| - "operationId": "List all Payment Methods for a Customer", |
| 2895 | + "operationId": "List Customer Payment Methods via Client Secret", |
2814 | 2896 | "parameters": [
|
2815 | 2897 | {
|
2816 | 2898 | "name": "client-secret",
|
|
2919 | 3001 | }
|
2920 | 3002 | },
|
2921 | 3003 | "/{customer_id}/payment_methods/{payment_method_id}/default": {
|
2922 |
| - "get": { |
| 3004 | + "post": { |
2923 | 3005 | "tags": [
|
2924 | 3006 | "Payment Methods"
|
2925 | 3007 | ],
|
|
16534 | 16616 | },
|
16535 | 16617 | "OrganizationUpdateRequest": {
|
16536 | 16618 | "type": "object",
|
| 16619 | + "required": [ |
| 16620 | + "platform_merchant_id" |
| 16621 | + ], |
16537 | 16622 | "properties": {
|
16538 | 16623 | "organization_name": {
|
16539 | 16624 | "type": "string",
|
|
16552 | 16637 | },
|
16553 | 16638 | "platform_merchant_id": {
|
16554 | 16639 | "type": "string",
|
16555 |
| - "description": "Platform merchant id is unique distiguisher for special merchant in the platform org", |
16556 |
| - "nullable": true |
| 16640 | + "description": "Platform merchant id is unique distiguisher for special merchant in the platform org" |
16557 | 16641 | }
|
16558 | 16642 | },
|
16559 | 16643 | "additionalProperties": false
|
|
0 commit comments