@@ -408,49 +408,15 @@ The `date` field can no longer be `null`.
408408
409409The following endpoints have changed their URLs:
410410
411- <table >
412- <thead >
413- <td >Old Endpoint</td >
414- <td >New Endpoint</td >
415- </thead >
416-
417- <tbody >
418- <tr >
419- <td >` GET /v1/commerce/plans ` </td >
420- <td >` GET /v1/billing/plans ` </td >
421- </tr >
422-
423- <tr >
424- <td >` GET /v1/commerce/statements ` </td >
425- <td >` GET /v1/billing/statements ` </td >
426- </tr >
427-
428- <tr >
429- <td >` GET /v1/commerce/statements/{statementID} ` </td >
430- <td >` GET /v1/billing/statements/{statementID} ` </td >
431- </tr >
432-
433- <tr >
434- <td >` GET /v1/commerce/statements/{statementID}/payment_attempts ` </td >
435- <td >` GET /v1/billing/statements/{statementID}/payment_attempts ` </td >
436- </tr >
437-
438- <tr >
439- <td >` GET /v1/commerce/subscription_items ` </td >
440- <td >` GET /v1/billing/subscription_items ` </td >
441- </tr >
442-
443- <tr >
444- <td >` DELETE /v1/commerce/subscription_items/{subscriptionItemID} ` </td >
445- <td >` DELETE /v1/billing/subscription_items/{subscriptionItemID} ` </td >
446- </tr >
447-
448- <tr >
449- <td >` POST /v1/commerce/subscription_items/{subscriptionItemID}/extend_free_trial ` </td >
450- <td >` POST /v1/billing/subscription_items/{subscriptionItemID}/extend_free_trial ` </td >
451- </tr >
452- </tbody >
453- </table >
411+ | Old endpoint | New endpoint |
412+ | - | - |
413+ | ` GET /v1/commerce/plans ` | ` GET /v1/billing/plans ` |
414+ | ` GET /v1/commerce/statements ` | ` GET /v1/billing/statements ` |
415+ | ` GET /v1/commerce/statements/{statementID} ` | ` GET /v1/billing/statements/{statementID} ` |
416+ | ` GET /v1/commerce/statements/{statementID}/payment_attempts ` | ` GET /v1/billing/statements/{statementID}/payment_attempts ` |
417+ | ` GET /v1/commerce/subscription_items ` | ` GET /v1/billing/subscription_items ` |
418+ | ` DELETE /v1/commerce/subscription_items/{subscriptionItemID} ` | ` DELETE /v1/billing/subscription_items/{subscriptionItemID} ` |
419+ | ` POST /v1/commerce/subscription_items/{subscriptionItemID}/extend_free_trial ` | ` POST /v1/billing/subscription_items/{subscriptionItemID}/extend_free_trial ` |
454420
455421## Frontend Response Type Changes
456422
@@ -934,186 +900,40 @@ The `proration` field can no longer be omitted, and will instead be `null` when
934900
935901The following endpoints have changed their URLs:
936902
937- <table >
938- <thead >
939- <td >Old Endpoint</td >
940- <td >New Endpoint</td >
941- </thead >
942-
943- <tbody >
944- <tr >
945- <td >` POST /v1/me/commerce/checkouts ` </td >
946- <td >` POST /v1/me/billing/checkouts ` </td >
947- </tr >
948-
949- <tr >
950- <td >` GET /v1/me/commerce/checkouts/{checkoutID} ` </td >
951- <td >` GET /v1/me/billing/checkouts/{checkoutID} ` </td >
952- </tr >
953-
954- <tr >
955- <td >` PATCH /v1/me/commerce/checkouts/{checkoutID}/confirm ` </td >
956- <td >` PATCH /v1/me/billing/checkouts/{checkoutID}/confirm ` </td >
957- </tr >
958-
959- <tr >
960- <td >` POST /v1/organizations/{organizationID}/commerce/checkouts ` </td >
961- <td >` POST /v1/organizations/{organizationID}/billing/checkouts ` </td >
962- </tr >
963-
964- <tr >
965- <td >` GET /v1/organizations/{organizationID}/commerce/checkouts/{checkoutID} ` </td >
966- <td >` GET /v1/organizations/{organizationID}/billing/checkouts/{checkoutID} ` </td >
967- </tr >
968-
969- <tr >
970- <td >` PATCH /v1/organizations/{organizationID}/commerce/checkouts/{checkoutID}/confirm ` </td >
971- <td >` PATCH /v1/organizations/{organizationID}/billing/checkouts/{checkoutID}/confirm ` </td >
972- </tr >
973-
974- <tr >
975- <td >` GET /v1/me/commerce/invoices ` </td >
976- <td >` GET /v1/me/billing/invoices ` </td >
977- </tr >
978-
979- <tr >
980- <td >` GET /v1/organizations/{organizationID}/commerce/invoices ` </td >
981- <td >` GET /v1/organizations/{organizationID}/billing/invoices ` </td >
982- </tr >
983-
984- <tr >
985- <td >` GET /v1/me/commerce/payment_attempts ` </td >
986- <td >` GET /v1/me/billing/payment_attempts ` </td >
987- </tr >
988-
989- <tr >
990- <td >` GET /v1/me/commerce/payment_attempts/{paymentAttemptID} ` </td >
991- <td >` GET /v1/me/billing/payment_attempts/{paymentAttemptID} ` </td >
992- </tr >
993-
994- <tr >
995- <td >` GET /v1/organizations/{organizationID}/commerce/payment_attempts ` </td >
996- <td >` GET /v1/organizations/{organizationID}/billing/payment_attempts ` </td >
997- </tr >
998-
999- <tr >
1000- <td >` GET /v1/organizations/{organizationID}/commerce/payment_attempts/{paymentAttemptID} ` </td >
1001- <td >` GET /v1/organizations/{organizationID}/billing/payment_attempts/{paymentAttemptID} ` </td >
1002- </tr >
1003-
1004- <tr >
1005- <td >` POST /v1/me/commerce/payment_sources/initialize ` </td >
1006- <td >` POST /v1/me/billing/payment_sources/initialize ` </td >
1007- </tr >
1008-
1009- <tr >
1010- <td >` GET /v1/me/commerce/payment_sources ` </td >
1011- <td >` GET /v1/me/billing/payment_sources ` </td >
1012- </tr >
1013-
1014- <tr >
1015- <td >` POST /v1/me/commerce/payment_sources ` </td >
1016- <td >` POST /v1/me/billing/payment_sources ` </td >
1017- </tr >
1018-
1019- <tr >
1020- <td >` DELETE /v1/me/commerce/payment_sources/{paymentSourceID} ` </td >
1021- <td >` DELETE /v1/me/billing/payment_sources/{paymentSourceID} ` </td >
1022- </tr >
1023-
1024- <tr >
1025- <td >` PUT /v1/commerce/payers/default_payment_source ` </td >
1026- <td >` PUT /v1/billing/payers/default_payment_source ` </td >
1027- </tr >
1028-
1029- <tr >
1030- <td >` POST /v1/organizations/{organizationID}/commerce/payment_sources/initialize ` </td >
1031- <td >` POST /v1/organizations/{organizationID}/billing/payment_sources/initialize ` </td >
1032- </tr >
1033-
1034- <tr >
1035- <td >` GET /v1/organizations/{organizationID}/commerce/payment_sources ` </td >
1036- <td >` GET /v1/organizations/{organizationID}/billing/payment_sources ` </td >
1037- </tr >
1038-
1039- <tr >
1040- <td >` POST /v1/organizations/{organizationID}/commerce/payment_sources ` </td >
1041- <td >` POST /v1/organizations/{organizationID}/billing/payment_sources ` </td >
1042- </tr >
1043-
1044- <tr >
1045- <td >` DELETE /v1/organizations/{organizationID}/commerce/payment_sources/{paymentSourceID} ` </td >
1046- <td >` DELETE /v1/organizations/{organizationID}/billing/payment_sources/{paymentSourceID} ` </td >
1047- </tr >
1048-
1049- <tr >
1050- <td >` PUT /v1/organizations/{organizationID}/commerce/payers/default_payment_source ` </td >
1051- <td >` PUT /v1/organizations/{organizationID}/billing/payers/default_payment_source ` </td >
1052- </tr >
1053-
1054- <tr >
1055- <td >` GET /v1/commerce/plans ` </td >
1056- <td >` GET /v1/billing/plans ` </td >
1057- </tr >
1058-
1059- <tr >
1060- <td >` GET /v1/commerce/plans/{planIDOrSlug} ` </td >
1061- <td >` GET /v1/billing/plans/{planIDOrSlug} ` </td >
1062- </tr >
1063-
1064- <tr >
1065- <td >` GET /v1/commerce/products ` </td >
1066- <td >` GET /v1/billing/products ` </td >
1067- </tr >
1068-
1069- <tr >
1070- <td >` GET /v1/me/commerce/statements ` </td >
1071- <td >` GET /v1/me/billing/statements ` </td >
1072- </tr >
1073-
1074- <tr >
1075- <td >` GET /v1/me/commerce/statements/{statementID} ` </td >
1076- <td >` GET /v1/me/billing/statements/{statementID} ` </td >
1077- </tr >
1078-
1079- <tr >
1080- <td >` GET /v1/organizations/{organizationID}/commerce/statements ` </td >
1081- <td >` GET /v1/organizations/{organizationID}/billing/statements ` </td >
1082- </tr >
1083-
1084- <tr >
1085- <td >` GET /v1/organizations/{organizationID}/commerce/statements/{statementID} ` </td >
1086- <td >` GET /v1/organizations/{organizationID}/billing/statements/{statementID} ` </td >
1087- </tr >
1088-
1089- <tr >
1090- <td >` GET /v1/me/commerce/subscription ` </td >
1091- <td >` GET /v1/me/billing/subscription ` </td >
1092- </tr >
1093-
1094- <tr >
1095- <td >` GET /v1/organizations/{organizationID}/commerce/subscription ` </td >
1096- <td >` GET /v1/organizations/{organizationID}/billing/subscription ` </td >
1097- </tr >
1098-
1099- <tr >
1100- <td >` GET /v1/me/commerce/subscription_items ` </td >
1101- <td >` GET /v1/me/billing/subscription_items ` </td >
1102- </tr >
1103-
1104- <tr >
1105- <td >` DELETE /v1/me/commerce/subscription_items/{subscriptionItemID} ` </td >
1106- <td >` DELETE /v1/me/billing/subscription_items/{subscriptionItemID} ` </td >
1107- </tr >
1108-
1109- <tr >
1110- <td >` GET /v1/organizations/{organizationID}/commerce/subscription_items ` </td >
1111- <td >` GET /v1/organizations/{organizationID}/billing/subscription_items ` </td >
1112- </tr >
1113-
1114- <tr >
1115- <td >` DELETE /v1/organizations/{organizationID}/commerce/subscription_items ` </td >
1116- <td >` DELETE /v1/organizations/{organizationID}/billing/subscription_items ` </td >
1117- </tr >
1118- </tbody >
1119- </table >
903+ | Old endpoint | New endpoint |
904+ | - | - |
905+ | ` POST /v1/me/commerce/checkouts ` | ` POST /v1/me/billing/checkouts ` |
906+ | ` GET /v1/me/commerce/checkouts/{checkoutID} ` | ` GET /v1/me/billing/checkouts/{checkoutID} ` |
907+ | ` PATCH /v1/me/commerce/checkouts/{checkoutID}/confirm ` | ` PATCH /v1/me/billing/checkouts/{checkoutID}/confirm ` |
908+ | ` POST /v1/organizations/{organizationID}/commerce/checkouts ` | ` POST /v1/organizations/{organizationID}/billing/checkouts ` |
909+ | ` GET /v1/organizations/{organizationID}/commerce/checkouts/{checkoutID} ` | ` GET /v1/organizations/{organizationID}/billing/checkouts/{checkoutID} ` |
910+ | ` PATCH /v1/organizations/{organizationID}/commerce/checkouts/{checkoutID}/confirm ` | ` PATCH /v1/organizations/{organizationID}/billing/checkouts/{checkoutID}/confirm ` |
911+ | ` GET /v1/me/commerce/invoices ` | ` GET /v1/me/billing/invoices ` |
912+ | ` GET /v1/organizations/{organizationID}/commerce/invoices ` | ` GET /v1/organizations/{organizationID}/billing/invoices ` |
913+ | ` GET /v1/me/commerce/payment_attempts ` | ` GET /v1/me/billing/payment_attempts ` |
914+ | ` GET /v1/me/commerce/payment_attempts/{paymentAttemptID} ` | ` GET /v1/me/billing/payment_attempts/{paymentAttemptID} ` |
915+ | ` GET /v1/organizations/{organizationID}/commerce/payment_attempts ` | ` GET /v1/organizations/{organizationID}/billing/payment_attempts ` |
916+ | ` GET /v1/organizations/{organizationID}/commerce/payment_attempts/{paymentAttemptID} ` | ` GET /v1/organizations/{organizationID}/billing/payment_attempts/{paymentAttemptID} ` |
917+ | ` POST /v1/me/commerce/payment_sources/initialize ` | ` POST /v1/me/billing/payment_sources/initialize ` |
918+ | ` GET /v1/me/commerce/payment_sources ` | ` GET /v1/me/billing/payment_sources ` |
919+ | ` POST /v1/me/commerce/payment_sources ` | ` POST /v1/me/billing/payment_sources ` |
920+ | ` DELETE /v1/me/commerce/payment_sources/{paymentSourceID} ` | ` DELETE /v1/me/billing/payment_sources/{paymentSourceID} ` |
921+ | ` PUT /v1/commerce/payers/default_payment_source ` | ` PUT /v1/billing/payers/default_payment_source ` |
922+ | ` POST /v1/organizations/{organizationID}/commerce/payment_sources/initialize ` | ` POST /v1/organizations/{organizationID}/billing/payment_sources/initialize ` |
923+ | ` GET /v1/organizations/{organizationID}/commerce/payment_sources ` | ` GET /v1/organizations/{organizationID}/billing/payment_sources ` |
924+ | ` POST /v1/organizations/{organizationID}/commerce/payment_sources ` | ` POST /v1/organizations/{organizationID}/billing/payment_sources ` |
925+ | ` DELETE /v1/organizations/{organizationID}/commerce/payment_sources/{paymentSourceID} ` | ` DELETE /v1/organizations/{organizationID}/billing/payment_sources/{paymentSourceID} ` |
926+ | ` PUT /v1/organizations/{organizationID}/commerce/payers/default_payment_source ` | ` PUT /v1/organizations/{organizationID}/billing/payers/default_payment_source ` |
927+ | ` GET /v1/commerce/plans ` | ` GET /v1/billing/plans ` |
928+ | ` GET /v1/commerce/plans/{planIDOrSlug} ` | ` GET /v1/billing/plans/{planIDOrSlug} ` |
929+ | ` GET /v1/commerce/products ` | ` GET /v1/billing/products ` |
930+ | ` GET /v1/me/commerce/statements ` | ` GET /v1/me/billing/statements ` |
931+ | ` GET /v1/me/commerce/statements/{statementID} ` | ` GET /v1/me/billing/statements/{statementID} ` |
932+ | ` GET /v1/organizations/{organizationID}/commerce/statements ` | ` GET /v1/organizations/{organizationID}/billing/statements ` |
933+ | ` GET /v1/organizations/{organizationID}/commerce/statements/{statementID} ` | ` GET /v1/organizations/{organizationID}/billing/statements/{statementID} ` |
934+ | ` GET /v1/me/commerce/subscription ` | ` GET /v1/me/billing/subscription ` |
935+ | ` GET /v1/organizations/{organizationID}/commerce/subscription ` | ` GET /v1/organizations/{organizationID}/billing/subscription ` |
936+ | ` GET /v1/me/commerce/subscription_items ` | ` GET /v1/me/billing/subscription_items ` |
937+ | ` DELETE /v1/me/commerce/subscription_items/{subscriptionItemID} ` | ` DELETE /v1/me/billing/subscription_items/{subscriptionItemID} ` |
938+ | ` GET /v1/organizations/{organizationID}/commerce/subscription_items ` | ` GET /v1/organizations/{organizationID}/billing/subscription_items ` |
939+ | ` DELETE /v1/organizations/{organizationID}/commerce/subscription_items ` | ` DELETE /v1/organizations/{organizationID}/billing/subscription_items ` |
0 commit comments