{"id":61642,"date":"2024-02-13T07:49:17","date_gmt":"2024-02-13T12:49:17","guid":{"rendered":"https:\/\/memberpress.com\/docs\/developer-tools-actions\/"},"modified":"2024-02-13T17:18:48","modified_gmt":"2024-02-13T22:18:48","slug":"developer-tools-actions","status":"publish","type":"ht_kb","link":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/","title":{"rendered":"Entwickler-Tools-Aktionen"},"content":{"rendered":"<h2>Overview<\/h2>\n<h4>General<\/h4>\n<ul>\n<li><a href=\"#Me\">Me<\/a><\/li>\n<li><a href=\"#webhooks subscribe\">Webhooks Subscribe<\/a><\/li>\n<li><a href=\"#webhooks unsubscribe\">Webhooks Unsubscribe<\/a><\/li>\n<\/ul>\n<h4>Subscriptions<\/h4>\n<ul>\n<li><a href=\"#get-subscriptions\">Get Subscriptions<\/a><\/li>\n<li><a href=\"#get-subscription\">Get Subscription<\/a><\/li>\n<li><a href=\"#create-subscription\">Create Subscription<\/a><\/li>\n<li><a href=\"#update-subscription\">Update Subscription<\/a><\/li>\n<li><a href=\"#delete-subscription\">Delete Subscription<\/a><\/li>\n<li><a href=\"#cancel-subscription\">Cancel Subscription<\/a><\/li>\n<li><a href=\"#expire-subscription\">Expire Subscription<\/a><\/li>\n<\/ul>\n<h4>Members<\/h4>\n<ul>\n<li><a href=\"#get-members\">Get Members<\/a><\/li>\n<li><a href=\"#get-member\">Get Member<\/a><\/li>\n<li><a href=\"#create-member\">Create Member<\/a><\/li>\n<li><a href=\"#update-member\">Update Member<\/a><\/li>\n<li><a href=\"#delete-member\">Delete Member<\/a><\/li>\n<\/ul>\n<h4>Rules<\/h4>\n<ul>\n<li><a href=\"#get-rules\">Get Rules<\/a><\/li>\n<li><a href=\"#get-rule\">Get Rule<\/a><\/li>\n<li><a href=\"#create-rule\">Create Rule<\/a><\/li>\n<li><a href=\"#update-rule\">Update Rule<\/a><\/li>\n<li><a href=\"#delete-rule\">Delete Rule<\/a><\/li>\n<\/ul>\n<h4>Memberships<\/h4>\n<ul>\n<li><a href=\"#get-memberships\">Get Memberships<\/a><\/li>\n<li><a href=\"#get-membership\">Get Membership<\/a><\/li>\n<li><a href=\"#create-membership\">Create Membership<\/a><\/li>\n<li><a href=\"#update-membership\">Update Membership<\/a><\/li>\n<li><a href=\"#delete-membership\">Delete Membership<\/a><\/li>\n<\/ul>\n<h4>Coupons<\/h4>\n<ul>\n<li><a href=\"#get-coupons\">Get Coupons<\/a><\/li>\n<li><a href=\"#get-coupon\">Get Coupon<\/a><\/li>\n<li><a href=\"#create-coupon\">Create Coupon<\/a><\/li>\n<li><a href=\"#update-coupon\">Update Coupon<\/a><\/li>\n<li><a href=\"#delete-coupon\">Delete Coupon<\/a><\/li>\n<\/ul>\n<h4>Transactions<\/h4>\n<ul>\n<li><a href=\"#get-transactions\">Get Transactions<\/a><\/li>\n<li><a href=\"#get-transaction\">Get Transaction<\/a><\/li>\n<li><a href=\"#create-transaction\">Create Transaction<\/a><\/li>\n<li><a href=\"#update-transaction\">Update Transaction<\/a><\/li>\n<li><a href=\"#delete-transaction\">Delete Transaction<\/a><\/li>\n<li><a href=\"#refund-transaction\">Refund Transaction<\/a><\/li>\n<li><a href=\"#refund-and-cancel-transaction\">Refund & Cancel Transaction<\/a><\/li>\n<\/ul>\n<hr>\n<h2 id=\"Me\">Me<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Test MemberPress REST endpoint Authentication. Returns a status of 200 on success and 401 on failure.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdoamin.com\/wp-json\/mp\/v1\/me\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"success\": true,\n  \"data\": {\n    \"username\": \"username\"\n  }\n}\n<\/pre>\n<h2 id=\"webhooks subscribe\">Webhooks Subscribe<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Subscribe to any or all of MemberPress Developer Tools webhook(s). Returns a 409 Error on failure.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>url<\/strong> (Required) (string) \u2013\u00a0The url where the webhook will send the request.<\/p>\n<p>\n\t<strong>event<\/strong> (Required) (string) \u2013\u00a0The Webhook will be triggered by and send data for this Event.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"\"http:\/\/http:\/\/yourdomain.com\/wp-json\/mp\/v1\/webhooks\/subscribe\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d url=\"https:\/\/example.com\" \\\n       -d event=\"transaction-completed\"\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1324\n  }\n}\n<\/pre>\n<h2 id=\"webhooks unsubscribe\">Webhooks Unsubscribe<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Unsubscribe from any webhook. Returns a 409 Error on failure.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X DELETE \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/webhooks\/unsubscribe\/:id\" \\        -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{   \"success\": true }\n<\/pre>\n<h2 id=\"get-subscriptions\">Get Subscriptions<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get all Subscriptions based on the search arguments provided.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t<strong>page<\/strong>\u00a0(integer, default value: 1) \u2013\u00a0Current page of the collection.\u00a0<\/p>\n<p>\n\t<strong>per_page<\/strong>\u00a0(integer, default value: 10) \u2013\u00a0Maximum number of items to be returned in result set.<\/p>\n<p>\n\t<strong>search\u00a0<\/strong>(string) \u2013\u00a0Limit results to those matching a string.<\/p>\n<p>\n\t<strong>member<\/strong>\u00a0(integer) \u2013\u00a0Limit results to subscriptions of a specific member.<\/p>\n<p>\n\t<strong>membership<\/strong> (integer) \u2013\u00a0Limit results to subscriptions for a specific membership.<\/p>\n<p>\n\t<strong>coupon<\/strong> (integer) \u2013\u00a0Limit results to subscriptions created with a specific coupon.<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/subscriptions?page=2&per_page=10\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>[\n  {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 56,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-18 16:47:14\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapiertest\"\n    },\n    \"id\": \"69\",\n    \"subscr_id\": \"cus_EuSIHGllVD3168\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"active\",\n    \"created_at\": \"2019-04-18 16:47:19\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 54,\n      \"email\": \"buddy@test2.com\",\n      \"username\": \"buddy@test2.com\",\n      \"nicename\": \"buddytest2-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-03 19:42:37\",\n      \"first_name\": \"\",\n      \"last_name\": \"\",\n      \"display_name\": \"buddy@test2.com\"\n    },\n    \"id\": \"67\",\n    \"subscr_id\": \"cus_EoskD8WRM2bxrG\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"active\",\n    \"created_at\": \"2019-04-03 19:42:44\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 267,\n      \"title\": \"coupon testing\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-04-03 11:18:41\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-03 17:18:41\",\n      \"modified\": \"2019-04-04 10:58:44\",\n      \"modified_gmt\": \"2019-04-04 16:58:44\",\n      \"group\": \"0\",\n      \"price\": \"9.99\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": \"1\",\n      \"trial_days\": \"90\",\n      \"trial_amount\": \"29.94\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"coupon testing\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-04\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 51,\n      \"email\": \"coupon@testing4.com\",\n      \"username\": \"coupon@testing4.com\",\n      \"nicename\": \"coupontesting4-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-03 18:01:05\",\n      \"first_name\": \"coupon\",\n      \"last_name\": \"testing4\",\n      \"display_name\": \"coupon testing4\"\n    },\n    \"id\": \"64\",\n    \"subscr_id\": \"cus_Eor77sLgMt4sIg\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"9.99\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"1\",\n    \"trial_days\": \"90\",\n    \"trial_amount\": \"29.94\",\n    \"status\": \"active\",\n    \"created_at\": \"2019-04-03 18:01:29\",\n    \"total\": \"9.99\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  {\n    \"coupon\": {\n      \"id\": 268,\n      \"coupon_code\": \"3ITYMDZOI5\",\n      \"date\": \"2019-04-03 11:19:30\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-03 17:19:30\",\n      \"modified\": \"2019-04-03 11:53:48\",\n      \"modified_gmt\": \"2019-04-03 17:53:48\",\n      \"valid_memberships\": [\n        \"267\"\n      ],\n      \"should_expire\": false,\n      \"expires_on\": \"0\",\n      \"usage_count\": \"2\",\n      \"usage_amount\": \"0\",\n      \"discount_type\": \"percent\",\n      \"discount_amount\": \"100\",\n      \"discount_mode\": \"first-payment\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\"\n    },\n    \"membership\": {\n      \"id\": 267,\n      \"title\": \"coupon testing\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-04-03 11:18:41\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-03 17:18:41\",\n      \"modified\": \"2019-04-04 10:58:44\",\n      \"modified_gmt\": \"2019-04-04 16:58:44\",\n      \"group\": \"0\",\n      \"price\": \"9.99\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": \"1\",\n      \"trial_days\": \"90\",\n      \"trial_amount\": \"29.94\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"coupon testing\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-04\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 50,\n      \"email\": \"coupon@testing3.com\",\n      \"username\": \"coupon@testing3.com\",\n      \"nicename\": \"coupontesting3-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-03 17:53:28\",\n      \"first_name\": \"coupon\",\n      \"last_name\": \"testing3\",\n      \"display_name\": \"coupon testing3\"\n    },\n    \"id\": \"63\",\n    \"subscr_id\": \"cus_EoqzWnn2NY7UGL\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"9.99\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"1\",\n    \"trial_days\": \"30\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"active\",\n    \"created_at\": \"2019-04-03 17:53:48\",\n    \"total\": \"9.99\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 267,\n      \"title\": \"coupon testing\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-04-03 11:18:41\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-03 17:18:41\",\n      \"modified\": \"2019-04-04 10:58:44\",\n      \"modified_gmt\": \"2019-04-04 16:58:44\",\n      \"group\": \"0\",\n      \"price\": \"9.99\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": \"1\",\n      \"trial_days\": \"90\",\n      \"trial_amount\": \"29.94\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"coupon testing\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-04\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 49,\n      \"email\": \"coupon@testing2.com\",\n      \"username\": \"coupon@testing2.com\",\n      \"nicename\": \"coupontesting2-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-03 17:33:06\",\n      \"first_name\": \"coupon\",\n      \"last_name\": \"testing2\",\n      \"display_name\": \"coupon testing2\"\n    },\n    \"id\": \"62\",\n    \"subscr_id\": \"cus_EoqfMhbLzIxdXZ\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"9.99\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"1\",\n    \"trial_days\": \"90\",\n    \"trial_amount\": \"29.94\",\n    \"status\": \"active\",\n    \"created_at\": \"2019-04-03 17:33:31\",\n    \"total\": \"9.99\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  {\n    \"coupon\": {\n      \"id\": 268,\n      \"coupon_code\": \"3ITYMDZOI5\",\n      \"date\": \"2019-04-03 11:19:30\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-03 17:19:30\",\n      \"modified\": \"2019-04-03 11:53:48\",\n      \"modified_gmt\": \"2019-04-03 17:53:48\",\n      \"valid_memberships\": [\n        \"267\"\n      ],\n      \"should_expire\": false,\n      \"expires_on\": \"0\",\n      \"usage_count\": \"2\",\n      \"usage_amount\": \"0\",\n      \"discount_type\": \"percent\",\n      \"discount_amount\": \"100\",\n      \"discount_mode\": \"first-payment\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\"\n    },\n    \"membership\": {\n      \"id\": 267,\n      \"title\": \"coupon testing\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-04-03 11:18:41\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-03 17:18:41\",\n      \"modified\": \"2019-04-04 10:58:44\",\n      \"modified_gmt\": \"2019-04-04 16:58:44\",\n      \"group\": \"0\",\n      \"price\": \"9.99\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": \"1\",\n      \"trial_days\": \"90\",\n      \"trial_amount\": \"29.94\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"coupon testing\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-04\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 48,\n      \"email\": \"coupon@testing.com\",\n      \"username\": \"coupon@testing.com\",\n      \"nicename\": \"coupontesting-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-03 17:21:50\",\n      \"first_name\": \"coupon\",\n      \"last_name\": \"testing\",\n      \"display_name\": \"coupon testing\"\n    },\n    \"id\": \"61\",\n    \"subscr_id\": \"cus_EoqTynS7epcvBN\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"9.99\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"1\",\n    \"trial_days\": \"30\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"active\",\n    \"created_at\": \"2019-04-03 17:21:55\",\n    \"total\": \"9.99\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 47,\n      \"email\": \"buddy@test.com\",\n      \"username\": \"buddy@test.com\",\n      \"nicename\": \"buddytest-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-01 21:03:59\",\n      \"first_name\": \"buddy\",\n      \"last_name\": \"test\",\n      \"display_name\": \"buddy test\"\n    },\n    \"id\": \"60\",\n    \"subscr_id\": \"cus_Eo9bZvhtSyBpFV\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"cancelled\",\n    \"created_at\": \"2019-04-01 21:04:05\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 5,\n      \"email\": \"zapier@test2.com\",\n      \"username\": \"zapiertest2\",\n      \"nicename\": \"zapiertest2\",\n      \"url\": \"http:\/\/zapier.test2.com\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:42:13\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test2\",\n      \"display_name\": \"zapier test2\"\n    },\n    \"id\": \"58\",\n    \"subscr_id\": \"cus_EhmAfr0Y1tbHSL\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"cancelled\",\n    \"created_at\": \"2019-03-15 20:26:28\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"http:\/\/zapier@test.com\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:42:13\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"Zapier Test\"\n    },\n    \"id\": \"57\",\n    \"subscr_id\": \"mp-sub-5c8aa776bb275\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"pending\",\n    \"created_at\": \"2019-03-14 19:11:50\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"\",\n    \"cc_exp_month\": \"\",\n    \"cc_exp_year\": \"\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 250,\n      \"title\": \"25 1\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-03-13 16:20:17\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-03-13 22:20:17\",\n      \"modified\": \"2019-03-13 16:20:17\",\n      \"modified_gmt\": \"2019-03-13 22:20:17\",\n      \"group\": \"252\",\n      \"price\": \"25.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"25 1\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-03-13\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 45,\n      \"email\": \"twenty@five.com\",\n      \"username\": \"twenty@five.com\",\n      \"nicename\": \"twentyfive-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-03-13 22:22:26\",\n      \"first_name\": \"\",\n      \"last_name\": \"\",\n      \"display_name\": \"twenty@five.com\"\n    },\n    \"id\": \"56\",\n    \"subscr_id\": \"cus_Eh3a1eXo3TTboZ\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.comwp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n            \"secret\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"25.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"cancelled\",\n    \"created_at\": \"2019-03-13 22:22:31\",\n    \"total\": \"25.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  }\n]\n<\/pre>\n<h2 id=\"get-subscription\">Get Subscription<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get one Subscription with a given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/subscriptions\/59\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"coupon\": false,\n  \"membership\": {\n    \"id\": 15,\n    \"title\": \"Gold Membership\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2018-08-30 16:10:22\",\n    \"status\": \"publish\",\n    \"author\": \"2\",\n    \"date_gmt\": \"2018-08-30 16:10:22\",\n    \"modified\": \"2019-03-14 13:10:21\",\n    \"modified_gmt\": \"2019-03-14 19:10:21\",\n    \"group\": \"17\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"2\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Gold Membership\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"custom\",\n    \"custom_price\": \"Pricing\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"This is a test\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-03-14\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": \"1\",\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": \"1\",\n    \"custom_payment_methods\": [\n      \"peum51-1tc\"\n    ],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  \"member\": {\n    \"id\": 46,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapier@test.com\",\n    \"nicename\": \"zapiertest-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-03-19 16:48:20\",\n    \"first_name\": \"Zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier@test.com\"\n  },\n  \"id\": \"59\",\n  \"subscr_id\": \"cus_EjDYhKuKyRY5N2\",\n  \"gateway\": {\n    \"name\": \"Stripe\",\n    \"label\": \"My Stripe gateway\",\n    \"use_label\": true,\n    \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n    \"use_icon\": true,\n    \"desc\": \"Pay with your credit card via Stripe\",\n    \"use_desc\": true,\n    \"id\": \"peum51-1tc\",\n    \"has_spc_form\": true,\n    \"settings\": {\n      \"gateway\": \"MeprStripeGateway\",\n      \"id\": \"peum51-1tc\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"use_icon\": true,\n      \"use_desc\": true,\n      \"email\": \"\",\n      \"sandbox\": false,\n      \"force_ssl\": false,\n      \"debug\": false,\n      \"test_mode\": \"on\",\n      \"use_stripe_checkout\": false,\n      \"churn_buster_enabled\": false,\n      \"churn_buster_uuid\": \"\",\n      \"api_keys\": {\n        \"test\": {\n          \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n        },\n        \"live\": {\n          \"public\": \"\",\n          \"secret\": \"\"\n        }\n      },\n      \"saved\": \"1\",\n      \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n    },\n    \"capabilities\": [\n      \"process-credit-cards\",\n      \"process-payments\",\n      \"process-refunds\",\n      \"create-subscriptions\",\n      \"cancel-subscriptions\",\n      \"update-subscriptions\",\n      \"suspend-subscriptions\",\n      \"resume-subscriptions\",\n      \"send-cc-expirations\"\n    ]\n  },\n  \"price\": \"100.00\",\n  \"period\": \"1\",\n  \"period_type\": \"months\",\n  \"limit_cycles\": \"0\",\n  \"limit_cycles_num\": \"2\",\n  \"limit_cycles_action\": \"expire\",\n  \"prorated_trial\": \"0\",\n  \"trial\": \"0\",\n  \"trial_days\": \"0\",\n  \"trial_amount\": \"0.00\",\n  \"status\": \"cancelled\",\n  \"created_at\": \"2019-03-19 16:48:25\",\n  \"total\": \"100.00\",\n  \"tax_rate\": \"0.000\",\n  \"tax_amount\": \"0.00\",\n  \"tax_desc\": \"\",\n  \"tax_class\": \"standard\",\n  \"cc_last4\": \"1111\",\n  \"cc_exp_month\": \"10\",\n  \"cc_exp_year\": \"2030\",\n  \"token\": \"\",\n  \"tax_compound\": \"0\",\n  \"tax_shipping\": \"1\",\n  \"response\": null\n}\n<\/pre>\n<h2 id=\"create-subscription\">Create Subscription<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Create a Subscription with the given field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>subscr_id<\/strong>\u00a0(string, default value: mp-sub-xxx\u2026) \u2013\u00a0The Recurring Subscription Number. In order for recurring billings to be tracked, this should be the exact Subsription Number generated by the Payment Gateway for this Subscription.<\/p>\n<p>\n\t<strong>response<\/strong>\u00a0(string) \u2013\u00a0A place where you can store Payment Gateway POST or GET responses for later reference.<\/p>\n<p>\n\t<strong>gateway<\/strong>\u00a0(string, default value: manual) \u2013\u00a0The unique ID of the Payment method that can be found in the payments tab of the MemberPress Settings page.<\/p>\n<p>\n\t<strong>member<\/strong> (Required) (integer, default value: 0) \u2013\u00a0The Member's WordPress User ID.<\/p>\n<p>\n\t<strong>membership<\/strong>\u00a0(Required) (integer, default value: 0) \u2013\u00a0The ID of the Membership this Subscription is for.<\/p>\n<p>\n\t<strong>coupon<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0The ID of the Coupon used on this Subscription.<\/p>\n<p>\n\t<strong>price<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0The Subscription Sub-Total Amount.<\/p>\n<p>\n\t<strong>period <\/strong>(integer, default value: 1) \u2013\u00a0The Period for the Subscription billing cycles. See Memberships documentation for more info.<\/p>\n<p>\n\t<strong>period_type<\/strong> (string, default value: lifetime) \u2013\u00a0The billing period type. See Memberships documentation for more info.<\/p>\n<p>\n\t<strong>limit_cycles <\/strong>(bool, default value: false) \u2013\u00a0Whether or not to limit the billing cycles for recurring membership payments. If set to true, MemberPress will cancel the recurring payments after the limit_cycles_num amount has been reached.<\/p>\n<p>\n\t<strong>limit_cycles_num <\/strong>(integer, default value: 2) \u2013\u00a0If limit_cycles is true, then this number is used to determine how many recurring billings should happen before MemberPress automatically cancels the Subscription. If set to 1, the Subscription will be cancelled immediately after the first payment has come through, however the member will maintain access until their Transaction has expired.\u00a0<\/p>\n<p>\n\t<strong>limit_cycles_action <\/strong>(string, default value: expire) \u2013\u00a0If limit_cycles is enabled, then this will determine the Member's access after their Subscription has reached its limit_cycles_num limit and has been cancelled. If set to \u201cexpire\u201d then the Member will lose access after their last Transaction expires. If set to \u201clifetime\u201d, the Member will be granted lifetime access.<\/p>\n<p>\n\t<strong>trial<\/strong> (bool, default value: false) \u2013\u00a0Whether or not there is a trial period on this Subscription. Trial periods ONLY work on auto-recurring payments.<\/p>\n<p>\n\t<strong>trial_days<\/strong> (integer, default value: 0) \u2013\u00a0How many days the trial period should last before the regular billing cycles begin.<\/p>\n<p>\n\t<strong>trial_amount<\/strong> (decimal, default value: 0.00) \u2013\u00a0If a trial period is enabled, this specifies how much the user paid for the trial period.<\/p>\n<p>\n\t<strong>status<\/strong> (Required) (string, default value: pending) \u2013\u00a0The Subscription's current billing status.<\/p>\n<p>\n\t<strong>created_at<\/strong>\u00a0(Required) (string, default value: null) \u2013\u00a0The date the Subscription was created. This should be in a MySQL datetime format or PHP's date(\u2018c') format. All dates stored in the database should be in UTC timezone.<\/p>\n<p>\n\t<strong>total<\/strong> (decimal, default value: 0.00) \u2013\u00a0The Subscription's Total Amount (including taxes).<\/p>\n<p>\n\t<strong>cc_last4<\/strong> (string, default value: null) \u2013\u00a0The last four digits of the Member's Credit Card associated with this Recurring Subscription.<\/p>\n<p>\n\t<strong>cc_exp_month<\/strong> (string, default value: null) \u2013\u00a0The Month (0-12) which the Credit Card expires.<\/p>\n<p>\n\t<strong>cc_exp_year<\/strong> (string, default value: null) \u2013\u00a0The 4 digit Year which the Credit Card expires.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/subscriptions\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d subscr_id=\"cus_EuSIHGllVD3168\" \\\n       -d price=\"100.00\" \\\n       -d period=1 \\\n       -d period_type=months \\\n       -d limit_cycles_num=2 \\\n       -d limit_cycles_action=expire \\\n       -d trial_amount=\"0.00\" \\\n       -d status=active \\\n       -d created_at=\"2019-04-18 16:47:19\" \\\n       -d total=\"100.00\" \\\n       -d cc_last4=1111 \\\n       -d cc_exp_month=10 \\\n       -d cc_exp_year=2020\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"coupon\": false,\n  \"membership\": {\n    \"id\": 15,\n    \"title\": \"Gold Membership\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2018-08-30 16:10:22\",\n    \"status\": \"publish\",\n    \"author\": \"2\",\n    \"date_gmt\": \"2018-08-30 16:10:22\",\n    \"modified\": \"2019-04-01 15:03:22\",\n    \"modified_gmt\": \"2019-04-01 21:03:22\",\n    \"group\": \"17\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"2\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Gold Membership\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"custom\",\n    \"custom_price\": \"Pricing\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"This is a test\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-04-01\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": \"1\",\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": \"1\",\n    \"custom_payment_methods\": [\n      \"peum51-1tc\"\n    ],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  \"member\": {\n    \"id\": 56,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-18 16:47:14\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapiertest\"\n  },\n  \"id\": \"69\",\n  \"subscr_id\": \"cus_EuSIHGllVD3168\",\n  \"gateway\": {\n    \"name\": \"Stripe\",\n    \"label\": \"My Stripe gateway\",\n    \"use_label\": true,\n    \"icon\": \"http:\/\/your domain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n    \"use_icon\": true,\n    \"desc\": \"Pay with your credit card via Stripe\",\n    \"use_desc\": true,\n    \"id\": \"peum51-1tc\",\n    \"has_spc_form\": true,\n    \"settings\": {\n      \"gateway\": \"MeprStripeGateway\",\n      \"id\": \"peum51-1tc\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"use_icon\": true,\n      \"use_desc\": true,\n      \"email\": \"\",\n      \"sandbox\": false,\n      \"force_ssl\": false,\n      \"debug\": false,\n      \"test_mode\": \"on\",\n      \"use_stripe_checkout\": false,\n      \"churn_buster_enabled\": false,\n      \"churn_buster_uuid\": \"\",\n      \"api_keys\": {\n        \"test\": {\n          \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n        },\n        \"live\": {\n          \"public\": \"\",\n          \"secret\": \"\"\n        }\n      },\n      \"saved\": \"1\",\n      \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n    },\n    \"capabilities\": [\n      \"process-credit-cards\",\n      \"process-payments\",\n      \"process-refunds\",\n      \"create-subscriptions\",\n      \"cancel-subscriptions\",\n      \"update-subscriptions\",\n      \"suspend-subscriptions\",\n      \"resume-subscriptions\",\n      \"send-cc-expirations\"\n    ]\n  },\n  \"price\": \"100.00\",\n  \"period\": \"1\",\n  \"period_type\": \"months\",\n  \"limit_cycles\": \"0\",\n  \"limit_cycles_num\": \"2\",\n  \"limit_cycles_action\": \"expire\",\n  \"prorated_trial\": \"0\",\n  \"trial\": \"0\",\n  \"trial_days\": \"0\",\n  \"trial_amount\": \"0.00\",\n  \"status\": \"active\",\n  \"created_at\": \"2019-04-18 16:47:19\",\n  \"total\": \"100.00\",\n  \"tax_rate\": \"0.000\",\n  \"tax_amount\": \"0.00\",\n  \"tax_desc\": \"\",\n  \"tax_class\": \"standard\",\n  \"cc_last4\": \"1111\",\n  \"cc_exp_month\": \"10\",\n  \"cc_exp_year\": \"2020\",\n  \"token\": \"\",\n  \"tax_compound\": \"0\",\n  \"tax_shipping\": \"1\",\n  \"response\": null\n}\n<\/pre>\n<h2 id=\"update-subscription\">Update Subscription<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Update a Subscription with the given id and field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>subscr_id<\/strong>\u00a0(string, default value: mp-sub-xxx\u2026) \u2013\u00a0The Recurring Subscription Number. In order for recurring billings to be tracked, this should be the exact Subsription Number generated by the Payment Gateway for this Subscription.<\/p>\n<p>\n\t<strong>response<\/strong>\u00a0(string) \u2013\u00a0A place where you can store Payment Gateway POST or GET responses for later reference.<\/p>\n<p>\n\t<strong>gateway<\/strong>\u00a0(string, default value: manual) \u2013\u00a0The unique ID of the Payment method that can be found in the payments tab of the MemberPress Settings page.<\/p>\n<p>\n\t<strong>member<\/strong> (Required) (integer, default value: 0) \u2013\u00a0The Member's WordPress User ID.<\/p>\n<p>\n\t<strong>membership<\/strong>\u00a0(Required) (integer, default value: 0) \u2013\u00a0The ID of the Membership this Subscription is for.<\/p>\n<p>\n\t<strong>coupon<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0The ID of the Coupon used on this Subscription.<\/p>\n<p>\n\t<strong>price<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0The Subscription Sub-Total Amount.<\/p>\n<p>\n\t<strong>period <\/strong>(integer, default value: 1) \u2013\u00a0The Period for the Subscription billing cycles. See Memberships documentation for more info.<\/p>\n<p>\n\t<strong>period_type<\/strong> (string, default value: lifetime) \u2013\u00a0The billing period type. See Memberships documentation for more info.<\/p>\n<p>\n\t<strong>limit_cycles <\/strong>(bool, default value: false) \u2013\u00a0Whether or not to limit the billing cycles for recurring membership payments. If set to true, MemberPress will cancel the recurring payments after the limit_cycles_num amount has been reached.<\/p>\n<p>\n\t<strong>limit_cycles_num <\/strong>(integer, default value: 2) \u2013\u00a0If limit_cycles is true, then this number is used to determine how many recurring billings should happen before MemberPress automatically cancels the Subscription. If set to 1, the Subscription will be cancelled immediately after the first payment has come through, however the member will maintain access until their Transaction has expired.\u00a0<\/p>\n<p>\n\t<strong>limit_cycles_action <\/strong>(string, default value: expire) \u2013\u00a0If limit_cycles is enabled, then this will determine the Member's access after their Subscription has reached its limit_cycles_num limit and has been cancelled. If set to \u201cexpire\u201d then the Member will lose access after their last Transaction expires. If set to \u201clifetime\u201d, the Member will be granted lifetime access.<\/p>\n<p>\n\t<strong>trial<\/strong> (bool, default value: false) \u2013\u00a0Whether or not there is a trial period on this Subscription. Trial periods ONLY work on auto-recurring payments.<\/p>\n<p>\n\t<strong>trial_days<\/strong> (integer, default value: 0) \u2013\u00a0How many days the trial period should last before the regular billing cycles begin.<\/p>\n<p>\n\t<strong>trial_amount<\/strong> (decimal, default value: 0.00) \u2013\u00a0If a trial period is enabled, this specifies how much the user paid for the trial period.<\/p>\n<p>\n\t<strong>status<\/strong> (Required) (string, default value: pending) \u2013\u00a0The Subscription's current billing status.<\/p>\n<p>\n\t<strong>created_at<\/strong>\u00a0(Required) (string, default value: null) \u2013\u00a0The date the Subscription was created. This should be in a MySQL datetime format or PHP's date(\u2018c') format. All dates stored in the database should be in UTC timezone.<\/p>\n<p>\n\t<strong>total<\/strong> (decimal, default value: 0.00) \u2013\u00a0The Subscription's Total Amount (including taxes).<\/p>\n<p>\n\t<strong>cc_last4<\/strong> (string, default value: null) \u2013\u00a0The last four digits of the Member's Credit Card associated with this Recurring Subscription.<\/p>\n<p>\n\t<strong>cc_exp_month<\/strong> (string, default value: null) \u2013\u00a0The Month (0-12) which the Credit Card expires.<\/p>\n<p>\n\t<strong>cc_exp_year<\/strong> (string, default value: null) \u2013\u00a0The 4 digit Year which the Credit Card expires.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/subscriptions\/69\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d subscr_id=\"cus_EuSIHGllVD3168\" \\\n       -d price=\"100.00\" \\\n       -d period=1 \\\n       -d period_type=months \\\n       -d limit_cycles_num=2 \\\n       -d limit_cycles_action=expire \\\n       -d trial_amount=\"0.00\" \\\n       -d status=active \\\n       -d created_at=\"2019-04-18 16:47:19\" \\\n       -d total=\"100.00\" \\\n       -d cc_last4=1111 \\\n       -d cc_exp_month=10 \\\n       -d cc_exp_year=2020\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"coupon\": false,\n  \"membership\": {\n    \"id\": 15,\n    \"title\": \"Gold Membership\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2018-08-30 16:10:22\",\n    \"status\": \"publish\",\n    \"author\": \"2\",\n    \"date_gmt\": \"2018-08-30 16:10:22\",\n    \"modified\": \"2019-04-01 15:03:22\",\n    \"modified_gmt\": \"2019-04-01 21:03:22\",\n    \"group\": \"17\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"2\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Gold Membership\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"custom\",\n    \"custom_price\": \"Pricing\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"This is a test\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-04-01\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": \"1\",\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": \"1\",\n    \"custom_payment_methods\": [\n      \"peum51-1tc\"\n    ],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  \"member\": {\n    \"id\": 56,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-18 16:47:14\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapiertest\"\n  },\n  \"id\": \"69\",\n  \"subscr_id\": \"cus_EuSIHGllVD3168\",\n  \"gateway\": {\n    \"name\": \"Stripe\",\n    \"label\": \"My Stripe gateway\",\n    \"use_label\": true,\n    \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n    \"use_icon\": true,\n    \"desc\": \"Pay with your credit card via Stripe\",\n    \"use_desc\": true,\n    \"id\": \"peum51-1tc\",\n    \"has_spc_form\": true,\n    \"settings\": {\n      \"gateway\": \"MeprStripeGateway\",\n      \"id\": \"peum51-1tc\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"use_icon\": true,\n      \"use_desc\": true,\n      \"email\": \"\",\n      \"sandbox\": false,\n      \"force_ssl\": false,\n      \"debug\": false,\n      \"test_mode\": \"on\",\n      \"use_stripe_checkout\": false,\n      \"churn_buster_enabled\": false,\n      \"churn_buster_uuid\": \"\",\n      \"api_keys\": {\n        \"test\": {\n          \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n          \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n        },\n        \"live\": {\n          \"public\": \"\",\n          \"secret\": \"\"\n        }\n      },\n      \"saved\": \"1\",\n      \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n      \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n    },\n    \"capabilities\": [\n      \"process-credit-cards\",\n      \"process-payments\",\n      \"process-refunds\",\n      \"create-subscriptions\",\n      \"cancel-subscriptions\",\n      \"update-subscriptions\",\n      \"suspend-subscriptions\",\n      \"resume-subscriptions\",\n      \"send-cc-expirations\"\n    ]\n  },\n  \"price\": \"100.00\",\n  \"period\": \"1\",\n  \"period_type\": \"months\",\n  \"limit_cycles\": \"0\",\n  \"limit_cycles_num\": \"2\",\n  \"limit_cycles_action\": \"expire\",\n  \"prorated_trial\": \"0\",\n  \"trial\": \"0\",\n  \"trial_days\": \"0\",\n  \"trial_amount\": \"0.00\",\n  \"status\": \"active\",\n  \"created_at\": \"2019-04-18 16:47:19\",\n  \"total\": \"100.00\",\n  \"tax_rate\": \"0.000\",\n  \"tax_amount\": \"0.00\",\n  \"tax_desc\": \"\",\n  \"tax_class\": \"standard\",\n  \"cc_last4\": \"1111\",\n  \"cc_exp_month\": \"10\",\n  \"cc_exp_year\": \"2020\",\n  \"token\": \"\",\n  \"tax_compound\": \"0\",\n  \"tax_shipping\": \"1\",\n  \"response\": null\n}\n<\/pre>\n<h2 id=\"delete-subscription\">Delete Subscription<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Delete a Subscription with the given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X DELETE \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/subscriptions\/69\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"coupon\": false,\n  \"membership\": {\n    \"id\": 15,\n    \"title\": \"Gold Membership\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2018-08-30 16:10:22\",\n    \"status\": \"publish\",\n    \"author\": \"2\",\n    \"date_gmt\": \"2018-08-30 16:10:22\",\n    \"modified\": \"2019-04-01 15:03:22\",\n    \"modified_gmt\": \"2019-04-01 21:03:22\",\n    \"group\": \"17\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"2\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Gold Membership\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"custom\",\n    \"custom_price\": \"Pricing\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"This is a test\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-04-01\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": \"1\",\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": \"1\",\n    \"custom_payment_methods\": [\n      \"peum51-1tc\"\n    ],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  \"member\": {\n    \"id\": 56,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-18 16:47:14\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapiertest\"\n  },\n  \"id\": \"69\",\n  \"subscr_id\": \"cus_EuSIHGllVD3168\",\n  \"gateway\": {\n    \"name\": \"Stripe\",\n    \"label\": \"My Stripe gateway\",\n    \"use_label\": true,\n    \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n    \"use_icon\": true,\n    \"desc\": \"Pay with your credit card via Stripe\",\n    \"use_desc\": true,\n    \"id\": \"peum51-1tc\",\n    \"has_spc_form\": true,\n    \"settings\": {\n      \"gateway\": \"MeprStripeGateway\",\n      \"id\": \"peum51-1tc\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"use_icon\": true,\n      \"use_desc\": true,\n      \"email\": \"\",\n      \"sandbox\": false,\n      \"force_ssl\": false,\n      \"debug\": false,\n      \"test_mode\": \"on\",\n      \"use_stripe_checkout\": false,\n      \"churn_buster_enabled\": false,\n      \"churn_buster_uuid\": \"\",\n      \"api_keys\": {\n        \"test\": {\n          \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n          \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n        },\n        \"live\": {\n          \"public\": \"\",\n          \"secret\": \"\"\n        }\n      },\n      \"saved\": \"1\",\n      \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n      \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n    },\n    \"capabilities\": [\n      \"process-credit-cards\",\n      \"process-payments\",\n      \"process-refunds\",\n      \"create-subscriptions\",\n      \"cancel-subscriptions\",\n      \"update-subscriptions\",\n      \"suspend-subscriptions\",\n      \"resume-subscriptions\",\n      \"send-cc-expirations\"\n    ]\n  },\n  \"price\": \"100.00\",\n  \"period\": \"1\",\n  \"period_type\": \"months\",\n  \"limit_cycles\": \"0\",\n  \"limit_cycles_num\": \"2\",\n  \"limit_cycles_action\": \"expire\",\n  \"prorated_trial\": \"0\",\n  \"trial\": \"0\",\n  \"trial_days\": \"0\",\n  \"trial_amount\": \"0.00\",\n  \"status\": \"active\",\n  \"created_at\": \"2019-04-18 16:47:19\",\n  \"total\": \"100.00\",\n  \"tax_rate\": \"0.000\",\n  \"tax_amount\": \"0.00\",\n  \"tax_desc\": \"\",\n  \"tax_class\": \"standard\",\n  \"cc_last4\": \"1111\",\n  \"cc_exp_month\": \"10\",\n  \"cc_exp_year\": \"2020\",\n  \"token\": \"\",\n  \"tax_compound\": \"0\",\n  \"tax_shipping\": \"1\",\n  \"response\": null\n}\n<\/pre>\n<h2 id=\"cancel-subscription\">Cancel Subscription<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Cancel a given subscription.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/subscriptions\/59\/cancel\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"message\": \"The subscription was successfully cancelled.\",\n  \"data\": {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-03-14 13:10:21\",\n      \"modified_gmt\": \"2019-03-14 19:10:21\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-03-14\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 46,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapier@test.com\",\n      \"nicename\": \"zapiertest-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-03-19 16:48:20\",\n      \"first_name\": \"Zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapier@test.com\"\n    },\n    \"id\": \"59\",\n    \"subscr_id\": \"cus_EjDYhKuKyRY5N2\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"cancelled\",\n    \"created_at\": \"2019-03-19 16:48:25\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2030\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  }\n}\n<\/pre>\n<h2 id=\"expire-subscription\">Expire Subscription<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Expire all unexpired transactions associated with the Subscription.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain\/wp-json\/mp\/v1\/subscriptions\/69\/expire\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"message\": \"This subscription is now expired.\",\n  \"data\": {\n    \"coupon\": false,\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 56,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-18 16:47:14\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapiertest\"\n    },\n    \"id\": \"69\",\n    \"subscr_id\": \"cus_EuSIHGllVD3168\",\n    \"gateway\": {\n      \"name\": \"Stripe\",\n      \"label\": \"My Stripe gateway\",\n      \"use_label\": true,\n      \"icon\": \"http:\/\/yourdomain.com\/wp-content\/plugins\/memberpress\/images\/checkout\/cards.png\",\n      \"use_icon\": true,\n      \"desc\": \"Pay with your credit card via Stripe\",\n      \"use_desc\": true,\n      \"id\": \"peum51-1tc\",\n      \"has_spc_form\": true,\n      \"settings\": {\n        \"gateway\": \"MeprStripeGateway\",\n        \"id\": \"peum51-1tc\",\n        \"label\": \"My Stripe gateway\",\n        \"use_label\": true,\n        \"use_icon\": true,\n        \"use_desc\": true,\n        \"email\": \"\",\n        \"sandbox\": false,\n        \"force_ssl\": false,\n        \"debug\": false,\n        \"test_mode\": \"on\",\n        \"use_stripe_checkout\": false,\n        \"churn_buster_enabled\": false,\n        \"churn_buster_uuid\": \"\",\n        \"api_keys\": {\n          \"test\": {\n            \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n          },\n          \"live\": {\n            \"public\": \"\",\n            \"secret\": \"\"\n          }\n        },\n        \"saved\": \"1\",\n        \"public_key\": \"pk_test_99NqpKsIsKWcjE2cgvKViV99\",\n        \"secret_key\": \"sk_test_99WXy9TgeQGH47NMkNSnSd99\"\n      },\n      \"capabilities\": [\n        \"process-credit-cards\",\n        \"process-payments\",\n        \"process-refunds\",\n        \"create-subscriptions\",\n        \"cancel-subscriptions\",\n        \"update-subscriptions\",\n        \"suspend-subscriptions\",\n        \"resume-subscriptions\",\n        \"send-cc-expirations\"\n      ]\n    },\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"active\",\n    \"created_at\": \"2019-04-18 16:47:19\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  }\n}\n<\/pre>\n<h2 id=\"get-members\">Get Members<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get all Members based on the search arguments provided.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t<strong>page<\/strong>\u00a0(integer, default value: 1) \u2013\u00a0Current page of the collection.\u00a0<\/p>\n<p>\n\t<strong>per_page<\/strong>\u00a0(integer, default value: 10) \u2013\u00a0Maximum number of items to be returned in result set.<\/p>\n<p>\n\t<strong>search\u00a0<\/strong>(string) \u2013\u00a0Limit results to those matching a string. Can only search by email or username.<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/members?page=2&per_page=10\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>[\n  {\n    \"id\": 56,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-18 16:47:14\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapiertest\",\n    \"active_memberships\": [\n      {\n        \"id\": 15,\n        \"title\": \"Gold Membership\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-08-30 16:10:22\",\n        \"status\": \"publish\",\n        \"author\": \"2\",\n        \"date_gmt\": \"2018-08-30 16:10:22\",\n        \"modified\": \"2019-04-01 15:03:22\",\n        \"modified_gmt\": \"2019-04-01 21:03:22\",\n        \"group\": \"17\",\n        \"price\": \"100.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"2\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Gold Membership\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"custom\",\n        \"custom_price\": \"Pricing\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"This is a test\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-01\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": \"1\",\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": \"1\",\n        \"custom_payment_methods\": [\n          \"peum51-1tc\"\n        ],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      },\n      {\n        \"id\": 15,\n        \"title\": \"Gold Membership\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-08-30 16:10:22\",\n        \"status\": \"publish\",\n        \"author\": \"2\",\n        \"date_gmt\": \"2018-08-30 16:10:22\",\n        \"modified\": \"2019-04-01 15:03:22\",\n        \"modified_gmt\": \"2019-04-01 21:03:22\",\n        \"group\": \"17\",\n        \"price\": \"100.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"2\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Gold Membership\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"custom\",\n        \"custom_price\": \"Pricing\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"This is a test\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-01\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": \"1\",\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": \"1\",\n        \"custom_payment_methods\": [\n          \"peum51-1tc\"\n        ],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"active_txn_count\": \"2\",\n    \"expired_txn_count\": \"0\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"coupon\": \"0\",\n      \"subscription\": \"69\",\n      \"id\": \"198\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EuSIHGllVD3168\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-18 16:47:14\",\n      \"expires_at\": \"2019-04-18 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"coupon\": \"0\",\n      \"subscription\": \"69\",\n      \"id\": \"199\",\n      \"amount\": \"100.00\",\n      \"total\": \"100.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-18 16:47:21\",\n      \"expires_at\": \"2019-05-18 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"MemberPress\",\n      \"mepr_birthday\": \"2019-04-18\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"15\",\n        \"member\": \"56\",\n        \"coupon\": \"0\",\n        \"subscription\": \"69\",\n        \"id\": \"199\",\n        \"amount\": \"100.00\",\n        \"total\": \"100.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n        \"status\": \"complete\",\n        \"txn_type\": \"payment\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-18 16:47:21\",\n        \"expires_at\": \"2019-05-18 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      },\n      {\n        \"membership\": \"15\",\n        \"member\": \"56\",\n        \"coupon\": \"0\",\n        \"subscription\": \"69\",\n        \"id\": \"198\",\n        \"amount\": \"0.00\",\n        \"total\": \"0.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"cus_EuSIHGllVD3168\",\n        \"status\": \"confirmed\",\n        \"txn_type\": \"subscription_confirmation\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-18 16:47:14\",\n        \"expires_at\": \"2019-04-18 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": [\n      {\n        \"coupon\": \"0\",\n        \"membership\": \"15\",\n        \"member\": \"56\",\n        \"id\": \"69\",\n        \"subscr_id\": \"cus_EuSIHGllVD3168\",\n        \"gateway\": \"peum51-1tc\",\n        \"price\": \"100.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"limit_cycles\": \"0\",\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"prorated_trial\": \"0\",\n        \"trial\": \"0\",\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"status\": \"active\",\n        \"created_at\": \"2019-04-18 16:47:19\",\n        \"total\": \"100.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_amount\": \"0.00\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"cc_last4\": \"1111\",\n        \"cc_exp_month\": \"10\",\n        \"cc_exp_year\": \"2020\",\n        \"token\": \"\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ]\n  },\n  {\n    \"id\": 55,\n    \"email\": \"one@day.com\",\n    \"username\": \"one@day.com\",\n    \"nicename\": \"oneday-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-04 18:15:38\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"display_name\": \"one@day.com\",\n    \"active_memberships\": [],\n    \"active_txn_count\": \"0\",\n    \"expired_txn_count\": \"1\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"271\",\n      \"member\": \"55\",\n      \"coupon\": \"0\",\n      \"subscription\": \"0\",\n      \"id\": \"185\",\n      \"amount\": \"10.00\",\n      \"total\": \"10.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1ELa6BJT1LHvX6ILT6jbOGYE\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-04 18:15:38\",\n      \"expires_at\": \"2019-04-05 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"271\",\n      \"member\": \"55\",\n      \"coupon\": \"0\",\n      \"subscription\": \"0\",\n      \"id\": \"185\",\n      \"amount\": \"10.00\",\n      \"total\": \"10.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1ELa6BJT1LHvX6ILT6jbOGYE\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-04 18:15:38\",\n      \"expires_at\": \"2019-04-05 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"\",\n      \"mepr-address-state\": \"\",\n      \"mepr-address-zip\": \"\",\n      \"mepr-address-country\": \"\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"\",\n      \"mepr_birthday\": \"\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"271\",\n        \"member\": \"55\",\n        \"coupon\": \"0\",\n        \"subscription\": \"0\",\n        \"id\": \"185\",\n        \"amount\": \"10.00\",\n        \"total\": \"10.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"ch_1ELa6BJT1LHvX6ILT6jbOGYE\",\n        \"status\": \"complete\",\n        \"txn_type\": \"payment\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-04 18:15:38\",\n        \"expires_at\": \"2019-04-05 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": []\n  },\n  {\n    \"id\": 54,\n    \"email\": \"buddy@test2.com\",\n    \"username\": \"buddy@test2.com\",\n    \"nicename\": \"buddytest2-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-03 19:42:37\",\n    \"first_name\": \"\",\n    \"last_name\": \"\",\n    \"display_name\": \"buddy@test2.com\",\n    \"active_memberships\": [\n      {\n        \"id\": 15,\n        \"title\": \"Gold Membership\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-08-30 16:10:22\",\n        \"status\": \"publish\",\n        \"author\": \"2\",\n        \"date_gmt\": \"2018-08-30 16:10:22\",\n        \"modified\": \"2019-04-01 15:03:22\",\n        \"modified_gmt\": \"2019-04-01 21:03:22\",\n        \"group\": \"17\",\n        \"price\": \"100.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"2\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Gold Membership\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"custom\",\n        \"custom_price\": \"Pricing\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"This is a test\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-01\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": \"1\",\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": \"1\",\n        \"custom_payment_methods\": [\n          \"peum51-1tc\"\n        ],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"active_txn_count\": \"1\",\n    \"expired_txn_count\": \"1\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"15\",\n      \"member\": \"54\",\n      \"coupon\": \"0\",\n      \"subscription\": \"67\",\n      \"id\": \"183\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EoskD8WRM2bxrG\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 19:42:37\",\n      \"expires_at\": \"2019-04-03 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"15\",\n      \"member\": \"54\",\n      \"coupon\": \"0\",\n      \"subscription\": \"67\",\n      \"id\": \"184\",\n      \"amount\": \"100.00\",\n      \"total\": \"100.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1ELEysJT1LHvX6IL3pDJI5tU\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 19:42:45\",\n      \"expires_at\": \"2019-05-03 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"\",\n      \"mepr-address-state\": \"\",\n      \"mepr-address-zip\": \"\",\n      \"mepr-address-country\": \"\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"\",\n      \"mepr_birthday\": \"\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"15\",\n        \"member\": \"54\",\n        \"coupon\": \"0\",\n        \"subscription\": \"67\",\n        \"id\": \"184\",\n        \"amount\": \"100.00\",\n        \"total\": \"100.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"ch_1ELEysJT1LHvX6IL3pDJI5tU\",\n        \"status\": \"complete\",\n        \"txn_type\": \"payment\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-03 19:42:45\",\n        \"expires_at\": \"2019-05-03 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      },\n      {\n        \"membership\": \"15\",\n        \"member\": \"54\",\n        \"coupon\": \"0\",\n        \"subscription\": \"67\",\n        \"id\": \"183\",\n        \"amount\": \"0.00\",\n        \"total\": \"0.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"cus_EoskD8WRM2bxrG\",\n        \"status\": \"confirmed\",\n        \"txn_type\": \"subscription_confirmation\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-03 19:42:37\",\n        \"expires_at\": \"2019-04-03 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": [\n      {\n        \"coupon\": \"0\",\n        \"membership\": \"15\",\n        \"member\": \"54\",\n        \"id\": \"67\",\n        \"subscr_id\": \"cus_EoskD8WRM2bxrG\",\n        \"gateway\": \"peum51-1tc\",\n        \"price\": \"100.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"limit_cycles\": \"0\",\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"prorated_trial\": \"0\",\n        \"trial\": \"0\",\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"status\": \"active\",\n        \"created_at\": \"2019-04-03 19:42:44\",\n        \"total\": \"100.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_amount\": \"0.00\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"cc_last4\": \"1111\",\n        \"cc_exp_month\": \"10\",\n        \"cc_exp_year\": \"2020\",\n        \"token\": \"\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ]\n  },\n  {\n    \"id\": 53,\n    \"email\": \"coupon@testing7.com\",\n    \"username\": \"coupon@testing7.com\",\n    \"nicename\": \"coupontesting7-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-03 18:16:02\",\n    \"first_name\": \"coupon\",\n    \"last_name\": \"testing7\",\n    \"display_name\": \"coupon testing7\",\n    \"active_memberships\": [\n      {\n        \"id\": 267,\n        \"title\": \"coupon testing\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-04-03 11:18:41\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-04-03 17:18:41\",\n        \"modified\": \"2019-04-04 10:58:44\",\n        \"modified_gmt\": \"2019-04-04 16:58:44\",\n        \"group\": \"0\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"coupon testing\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-04\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"active_txn_count\": \"1\",\n    \"expired_txn_count\": \"0\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"53\",\n      \"coupon\": \"269\",\n      \"subscription\": \"0\",\n      \"id\": \"182\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"mp-txn-5ca4f8639d842\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"free\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 18:16:02\",\n      \"expires_at\": \"0000-00-00 00:00:00\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"53\",\n      \"coupon\": \"269\",\n      \"subscription\": \"0\",\n      \"id\": \"182\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"mp-txn-5ca4f8639d842\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"free\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 18:16:02\",\n      \"expires_at\": \"0000-00-00 00:00:00\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"blah\",\n      \"mepr_birthday\": \"2019-04-03\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"267\",\n        \"member\": \"53\",\n        \"coupon\": \"269\",\n        \"subscription\": \"0\",\n        \"id\": \"182\",\n        \"amount\": \"0.00\",\n        \"total\": \"0.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"mp-txn-5ca4f8639d842\",\n        \"status\": \"complete\",\n        \"txn_type\": \"payment\",\n        \"gateway\": \"free\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-03 18:16:02\",\n        \"expires_at\": \"0000-00-00 00:00:00\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": []\n  },\n  {\n    \"id\": 52,\n    \"email\": \"coupon@testing6.com\",\n    \"username\": \"coupon@testing6.com\",\n    \"nicename\": \"coupontesting6-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-03 18:04:07\",\n    \"first_name\": \"coupon\",\n    \"last_name\": \"testing5\",\n    \"display_name\": \"coupon testing5\",\n    \"active_memberships\": [\n      {\n        \"id\": 267,\n        \"title\": \"coupon testing\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-04-03 11:18:41\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-04-03 17:18:41\",\n        \"modified\": \"2019-04-04 10:58:44\",\n        \"modified_gmt\": \"2019-04-04 16:58:44\",\n        \"group\": \"0\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"coupon testing\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-04\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"active_txn_count\": \"1\",\n    \"expired_txn_count\": \"0\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"52\",\n      \"coupon\": \"269\",\n      \"subscription\": \"0\",\n      \"id\": \"181\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"mp-txn-5ca4f59b09b62\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"free\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 18:04:07\",\n      \"expires_at\": \"0000-00-00 00:00:00\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"52\",\n      \"coupon\": \"269\",\n      \"subscription\": \"0\",\n      \"id\": \"181\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"mp-txn-5ca4f59b09b62\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"free\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 18:04:07\",\n      \"expires_at\": \"0000-00-00 00:00:00\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"blah\",\n      \"mepr_birthday\": \"2019-04-03\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"267\",\n        \"member\": \"52\",\n        \"coupon\": \"269\",\n        \"subscription\": \"0\",\n        \"id\": \"181\",\n        \"amount\": \"0.00\",\n        \"total\": \"0.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"mp-txn-5ca4f59b09b62\",\n        \"status\": \"complete\",\n        \"txn_type\": \"payment\",\n        \"gateway\": \"free\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-03 18:04:07\",\n        \"expires_at\": \"0000-00-00 00:00:00\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": []\n  },\n  {\n    \"id\": 51,\n    \"email\": \"coupon@testing4.com\",\n    \"username\": \"coupon@testing4.com\",\n    \"nicename\": \"coupontesting4-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-03 18:01:05\",\n    \"first_name\": \"coupon\",\n    \"last_name\": \"testing4\",\n    \"display_name\": \"coupon testing4\",\n    \"active_memberships\": [\n      {\n        \"id\": 267,\n        \"title\": \"coupon testing\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-04-03 11:18:41\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-04-03 17:18:41\",\n        \"modified\": \"2019-04-04 10:58:44\",\n        \"modified_gmt\": \"2019-04-04 16:58:44\",\n        \"group\": \"0\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"coupon testing\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-04\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"active_txn_count\": \"1\",\n    \"expired_txn_count\": \"0\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"51\",\n      \"coupon\": \"0\",\n      \"subscription\": \"64\",\n      \"id\": \"180\",\n      \"amount\": \"29.94\",\n      \"total\": \"29.94\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1ELDOqJT1LHvX6ILkMCIJteB\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 18:01:06\",\n      \"expires_at\": \"2019-07-02 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"51\",\n      \"coupon\": \"0\",\n      \"subscription\": \"64\",\n      \"id\": \"180\",\n      \"amount\": \"29.94\",\n      \"total\": \"29.94\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1ELDOqJT1LHvX6ILkMCIJteB\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 18:01:06\",\n      \"expires_at\": \"2019-07-02 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"blah\",\n      \"mepr_birthday\": \"2019-04-03\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"267\",\n        \"member\": \"51\",\n        \"coupon\": \"0\",\n        \"subscription\": \"64\",\n        \"id\": \"180\",\n        \"amount\": \"29.94\",\n        \"total\": \"29.94\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"ch_1ELDOqJT1LHvX6ILkMCIJteB\",\n        \"status\": \"complete\",\n        \"txn_type\": \"payment\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-03 18:01:06\",\n        \"expires_at\": \"2019-07-02 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": [\n      {\n        \"coupon\": \"0\",\n        \"membership\": \"267\",\n        \"member\": \"51\",\n        \"id\": \"64\",\n        \"subscr_id\": \"cus_Eor77sLgMt4sIg\",\n        \"gateway\": \"peum51-1tc\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"limit_cycles\": \"0\",\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"prorated_trial\": \"0\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"status\": \"active\",\n        \"created_at\": \"2019-04-03 18:01:29\",\n        \"total\": \"9.99\",\n        \"tax_rate\": \"0.000\",\n        \"tax_amount\": \"0.00\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"cc_last4\": \"1111\",\n        \"cc_exp_month\": \"10\",\n        \"cc_exp_year\": \"2020\",\n        \"token\": \"\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ]\n  },\n  {\n    \"id\": 50,\n    \"email\": \"coupon@testing3.com\",\n    \"username\": \"coupon@testing3.com\",\n    \"nicename\": \"coupontesting3-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-03 17:53:28\",\n    \"first_name\": \"coupon\",\n    \"last_name\": \"testing3\",\n    \"display_name\": \"coupon testing3\",\n    \"active_memberships\": [\n      {\n        \"id\": 267,\n        \"title\": \"coupon testing\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-04-03 11:18:41\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-04-03 17:18:41\",\n        \"modified\": \"2019-04-04 10:58:44\",\n        \"modified_gmt\": \"2019-04-04 16:58:44\",\n        \"group\": \"0\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"coupon testing\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-04\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"active_txn_count\": \"1\",\n    \"expired_txn_count\": \"0\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"50\",\n      \"coupon\": \"268\",\n      \"subscription\": \"63\",\n      \"id\": \"179\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EoqzWnn2NY7UGL\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 17:53:28\",\n      \"expires_at\": \"2019-05-03 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"50\",\n      \"coupon\": \"268\",\n      \"subscription\": \"63\",\n      \"id\": \"179\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EoqzWnn2NY7UGL\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 17:53:28\",\n      \"expires_at\": \"2019-05-03 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"blah\",\n      \"mepr_birthday\": \"2019-04-03\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"267\",\n        \"member\": \"50\",\n        \"coupon\": \"268\",\n        \"subscription\": \"63\",\n        \"id\": \"179\",\n        \"amount\": \"0.00\",\n        \"total\": \"0.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"cus_EoqzWnn2NY7UGL\",\n        \"status\": \"confirmed\",\n        \"txn_type\": \"subscription_confirmation\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-03 17:53:28\",\n        \"expires_at\": \"2019-05-03 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": [\n      {\n        \"coupon\": \"268\",\n        \"membership\": \"267\",\n        \"member\": \"50\",\n        \"id\": \"63\",\n        \"subscr_id\": \"cus_EoqzWnn2NY7UGL\",\n        \"gateway\": \"peum51-1tc\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"limit_cycles\": \"0\",\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"prorated_trial\": \"0\",\n        \"trial\": \"1\",\n        \"trial_days\": \"30\",\n        \"trial_amount\": \"0.00\",\n        \"status\": \"active\",\n        \"created_at\": \"2019-04-03 17:53:48\",\n        \"total\": \"9.99\",\n        \"tax_rate\": \"0.000\",\n        \"tax_amount\": \"0.00\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"cc_last4\": \"1111\",\n        \"cc_exp_month\": \"10\",\n        \"cc_exp_year\": \"2020\",\n        \"token\": \"\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ]\n  },\n  {\n    \"id\": 49,\n    \"email\": \"coupon@testing2.com\",\n    \"username\": \"coupon@testing2.com\",\n    \"nicename\": \"coupontesting2-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-03 17:33:06\",\n    \"first_name\": \"coupon\",\n    \"last_name\": \"testing2\",\n    \"display_name\": \"coupon testing2\",\n    \"active_memberships\": [\n      {\n        \"id\": 267,\n        \"title\": \"coupon testing\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-04-03 11:18:41\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-04-03 17:18:41\",\n        \"modified\": \"2019-04-04 10:58:44\",\n        \"modified_gmt\": \"2019-04-04 16:58:44\",\n        \"group\": \"0\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"coupon testing\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-04\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"active_txn_count\": \"1\",\n    \"expired_txn_count\": \"0\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"49\",\n      \"coupon\": \"0\",\n      \"subscription\": \"62\",\n      \"id\": \"178\",\n      \"amount\": \"29.94\",\n      \"total\": \"29.94\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1ELCxmJT1LHvX6ILZSGECdgo\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 17:33:07\",\n      \"expires_at\": \"2019-07-02 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"49\",\n      \"coupon\": \"0\",\n      \"subscription\": \"62\",\n      \"id\": \"178\",\n      \"amount\": \"29.94\",\n      \"total\": \"29.94\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1ELCxmJT1LHvX6ILZSGECdgo\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 17:33:07\",\n      \"expires_at\": \"2019-07-02 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"blah\",\n      \"mepr_birthday\": \"2019-04-03\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"267\",\n        \"member\": \"49\",\n        \"coupon\": \"0\",\n        \"subscription\": \"62\",\n        \"id\": \"178\",\n        \"amount\": \"29.94\",\n        \"total\": \"29.94\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"ch_1ELCxmJT1LHvX6ILZSGECdgo\",\n        \"status\": \"complete\",\n        \"txn_type\": \"payment\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-03 17:33:07\",\n        \"expires_at\": \"2019-07-02 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": [\n      {\n        \"coupon\": \"0\",\n        \"membership\": \"267\",\n        \"member\": \"49\",\n        \"id\": \"62\",\n        \"subscr_id\": \"cus_EoqfMhbLzIxdXZ\",\n        \"gateway\": \"peum51-1tc\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"limit_cycles\": \"0\",\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"prorated_trial\": \"0\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"status\": \"active\",\n        \"created_at\": \"2019-04-03 17:33:31\",\n        \"total\": \"9.99\",\n        \"tax_rate\": \"0.000\",\n        \"tax_amount\": \"0.00\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"cc_last4\": \"1111\",\n        \"cc_exp_month\": \"10\",\n        \"cc_exp_year\": \"2020\",\n        \"token\": \"\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ]\n  },\n  {\n    \"id\": 48,\n    \"email\": \"coupon@testing.com\",\n    \"username\": \"coupon@testing.com\",\n    \"nicename\": \"coupontesting-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-03 17:21:50\",\n    \"first_name\": \"coupon\",\n    \"last_name\": \"testing\",\n    \"display_name\": \"coupon testing\",\n    \"active_memberships\": [\n      {\n        \"id\": 267,\n        \"title\": \"coupon testing\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-04-03 11:18:41\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-04-03 17:18:41\",\n        \"modified\": \"2019-04-04 10:58:44\",\n        \"modified_gmt\": \"2019-04-04 16:58:44\",\n        \"group\": \"0\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"coupon testing\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-04\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"active_txn_count\": \"1\",\n    \"expired_txn_count\": \"0\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"48\",\n      \"coupon\": \"268\",\n      \"subscription\": \"61\",\n      \"id\": \"177\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EoqTynS7epcvBN\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 17:21:50\",\n      \"expires_at\": \"2019-05-03 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"267\",\n      \"member\": \"48\",\n      \"coupon\": \"268\",\n      \"subscription\": \"61\",\n      \"id\": \"177\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EoqTynS7epcvBN\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-03 17:21:50\",\n      \"expires_at\": \"2019-05-03 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"blah\",\n      \"mepr_birthday\": \"2019-04-03\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"267\",\n        \"member\": \"48\",\n        \"coupon\": \"268\",\n        \"subscription\": \"61\",\n        \"id\": \"177\",\n        \"amount\": \"0.00\",\n        \"total\": \"0.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"cus_EoqTynS7epcvBN\",\n        \"status\": \"confirmed\",\n        \"txn_type\": \"subscription_confirmation\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-03 17:21:50\",\n        \"expires_at\": \"2019-05-03 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": [\n      {\n        \"coupon\": \"268\",\n        \"membership\": \"267\",\n        \"member\": \"48\",\n        \"id\": \"61\",\n        \"subscr_id\": \"cus_EoqTynS7epcvBN\",\n        \"gateway\": \"peum51-1tc\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"limit_cycles\": \"0\",\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"prorated_trial\": \"0\",\n        \"trial\": \"1\",\n        \"trial_days\": \"30\",\n        \"trial_amount\": \"0.00\",\n        \"status\": \"active\",\n        \"created_at\": \"2019-04-03 17:21:55\",\n        \"total\": \"9.99\",\n        \"tax_rate\": \"0.000\",\n        \"tax_amount\": \"0.00\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"cc_last4\": \"1111\",\n        \"cc_exp_month\": \"10\",\n        \"cc_exp_year\": \"2020\",\n        \"token\": \"\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ]\n  },\n  {\n    \"id\": 47,\n    \"email\": \"buddy@test.com\",\n    \"username\": \"buddy@test.com\",\n    \"nicename\": \"buddytest-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-01 21:03:59\",\n    \"first_name\": \"buddy\",\n    \"last_name\": \"test\",\n    \"display_name\": \"buddy test\",\n    \"active_memberships\": [\n      {\n        \"id\": 15,\n        \"title\": \"Gold Membership\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-08-30 16:10:22\",\n        \"status\": \"publish\",\n        \"author\": \"2\",\n        \"date_gmt\": \"2018-08-30 16:10:22\",\n        \"modified\": \"2019-04-01 15:03:22\",\n        \"modified_gmt\": \"2019-04-01 21:03:22\",\n        \"group\": \"17\",\n        \"price\": \"100.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"2\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Gold Membership\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"custom\",\n        \"custom_price\": \"Pricing\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"This is a test\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-01\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": \"1\",\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": \"1\",\n        \"custom_payment_methods\": [\n          \"peum51-1tc\"\n        ],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"active_txn_count\": \"1\",\n    \"expired_txn_count\": \"1\",\n    \"trial_txn_count\": null,\n    \"sub_count\": null,\n    \"login_count\": \"1\",\n    \"first_txn\": {\n      \"membership\": \"15\",\n      \"member\": \"47\",\n      \"coupon\": \"0\",\n      \"subscription\": \"60\",\n      \"id\": \"173\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_Eo9bZvhtSyBpFV\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-01 21:04:00\",\n      \"expires_at\": \"2019-04-01 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"latest_txn\": {\n      \"membership\": \"15\",\n      \"member\": \"47\",\n      \"coupon\": \"0\",\n      \"subscription\": \"60\",\n      \"id\": \"174\",\n      \"amount\": \"100.00\",\n      \"total\": \"100.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1EKXIWJT1LHvX6ILtZzlyL2d\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-01 21:04:08\",\n      \"expires_at\": \"2019-05-01 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"blah\",\n      \"mepr_birthday\": \"2019-04-11\",\n      \"mepr_testslug\": \"\"\n    },\n    \"recent_transactions\": [\n      {\n        \"membership\": \"15\",\n        \"member\": \"47\",\n        \"coupon\": \"0\",\n        \"subscription\": \"60\",\n        \"id\": \"174\",\n        \"amount\": \"100.00\",\n        \"total\": \"100.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"ch_1EKXIWJT1LHvX6ILtZzlyL2d\",\n        \"status\": \"complete\",\n        \"txn_type\": \"payment\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-01 21:04:08\",\n        \"expires_at\": \"2019-05-01 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      },\n      {\n        \"membership\": \"15\",\n        \"member\": \"47\",\n        \"coupon\": \"0\",\n        \"subscription\": \"60\",\n        \"id\": \"173\",\n        \"amount\": \"0.00\",\n        \"total\": \"0.00\",\n        \"tax_amount\": \"0.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"trans_num\": \"cus_Eo9bZvhtSyBpFV\",\n        \"status\": \"confirmed\",\n        \"txn_type\": \"subscription_confirmation\",\n        \"gateway\": \"peum51-1tc\",\n        \"prorated\": \"0\",\n        \"created_at\": \"2019-04-01 21:04:00\",\n        \"expires_at\": \"2019-04-01 23:59:59\",\n        \"corporate_account_id\": \"0\",\n        \"parent_transaction_id\": \"0\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ],\n    \"recent_subscriptions\": [\n      {\n        \"coupon\": \"0\",\n        \"membership\": \"15\",\n        \"member\": \"47\",\n        \"id\": \"60\",\n        \"subscr_id\": \"cus_Eo9bZvhtSyBpFV\",\n        \"gateway\": \"peum51-1tc\",\n        \"price\": \"100.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"limit_cycles\": \"0\",\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"prorated_trial\": \"0\",\n        \"trial\": \"0\",\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"status\": \"cancelled\",\n        \"created_at\": \"2019-04-01 21:04:05\",\n        \"total\": \"100.00\",\n        \"tax_rate\": \"0.000\",\n        \"tax_amount\": \"0.00\",\n        \"tax_desc\": \"\",\n        \"tax_class\": \"standard\",\n        \"cc_last4\": \"1111\",\n        \"cc_exp_month\": \"10\",\n        \"cc_exp_year\": \"2020\",\n        \"token\": \"\",\n        \"tax_compound\": \"0\",\n        \"tax_shipping\": \"1\",\n        \"response\": null\n      }\n    ]\n  }\n]\n<\/pre>\n<h2 id=\"get-member\">Get Member<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get one Member with a given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/members\/46\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 46,\n  \"email\": \"zapier@test.com\",\n  \"username\": \"zapier@test.com\",\n  \"nicename\": \"zapiertest-com\",\n  \"url\": \"\",\n  \"message\": \"\",\n  \"registered_at\": \"2019-03-19 16:48:20\",\n  \"first_name\": \"Zapier\",\n  \"last_name\": \"test\",\n  \"display_name\": \"zapier@test.com\",\n  \"active_memberships\": [],\n  \"active_txn_count\": \"0\",\n  \"expired_txn_count\": \"1\",\n  \"trial_txn_count\": null,\n  \"sub_count\": null,\n  \"login_count\": \"1\",\n  \"first_txn\": {\n    \"membership\": \"15\",\n    \"member\": \"46\",\n    \"coupon\": \"0\",\n    \"subscription\": \"59\",\n    \"id\": \"166\",\n    \"amount\": \"0.00\",\n    \"total\": \"0.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"cus_EjDYhKuKyRY5N2\",\n    \"status\": \"confirmed\",\n    \"txn_type\": \"subscription_confirmation\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-03-19 16:48:21\",\n    \"expires_at\": \"2019-03-19 16:48:21\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"latest_txn\": {\n    \"membership\": \"15\",\n    \"member\": \"46\",\n    \"coupon\": \"0\",\n    \"subscription\": \"59\",\n    \"id\": \"166\",\n    \"amount\": \"0.00\",\n    \"total\": \"0.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"cus_EjDYhKuKyRY5N2\",\n    \"status\": \"confirmed\",\n    \"txn_type\": \"subscription_confirmation\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-03-19 16:48:21\",\n    \"expires_at\": \"2019-03-19 16:48:21\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"address\": {\n    \"mepr-address-one\": \"123 fake st\",\n    \"mepr-address-two\": \"\",\n    \"mepr-address-city\": \"city\",\n    \"mepr-address-state\": \"UT\",\n    \"mepr-address-zip\": \"81111\",\n    \"mepr-address-country\": \"US\"\n  },\n  \"profile\": {\n    \"mepr_company_name\": \"Zapier test\",\n    \"mepr_birthday\": \"2019-03-19\",\n    \"mepr_testslug\": \"\"\n  },\n  \"recent_transactions\": [\n    {\n      \"membership\": \"15\",\n      \"member\": \"46\",\n      \"coupon\": \"0\",\n      \"subscription\": \"59\",\n      \"id\": \"167\",\n      \"amount\": \"100.00\",\n      \"total\": \"100.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1EFl6yJT1LHvX6IL95fhb7M4\",\n      \"status\": \"refunded\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-03-19 16:48:28\",\n      \"expires_at\": \"2019-04-19 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    {\n      \"membership\": \"15\",\n      \"member\": \"46\",\n      \"coupon\": \"0\",\n      \"subscription\": \"59\",\n      \"id\": \"166\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EjDYhKuKyRY5N2\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-03-19 16:48:21\",\n      \"expires_at\": \"2019-03-19 16:48:21\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    }\n  ],\n  \"recent_subscriptions\": [\n    {\n      \"coupon\": \"0\",\n      \"membership\": \"15\",\n      \"member\": \"46\",\n      \"id\": \"59\",\n      \"subscr_id\": \"cus_EjDYhKuKyRY5N2\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"cancelled\",\n      \"created_at\": \"2019-03-19 16:48:25\",\n      \"total\": \"100.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2030\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    }\n  ]\n}\n<\/pre>\n<h2 id=\"create-member\">Create Member<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Create a Member with the given field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>first_name\u00a0<\/strong>(string) \u2013 The User's First Name.\u00a0<\/p>\n<p>\n\t<strong>last_name\u00a0<\/strong>(string) \u2013 The User's Last Name.<\/p>\n<p>\n\t<strong>email\u00a0<\/strong>(Required) (string) \u2013\u00a0The User's Email Address.<\/p>\n<p>\n\t<strong>username\u00a0<\/strong>(Required) (string) -The username for this User. If you're using email addresses as the Username, then both username and email should be set to the same string.<\/p>\n<p>\n\t<strong>password\u00a0<\/strong>(string) \u2013 Works only when creating a new Member. A plaintext password which will be hashed and stored with this user. If a password is not provided, then a random password will be automatically generated for the member. If this field is present when updating a member, they will receive an email to set their password.<\/p>\n<p>\n\t<strong>transaction\u00a0<\/strong>(array, default value: []) \u2013\u00a0Works only when creating a new Member. This is an array conforming to the documentation for the \u201cCreate Transaction\u201d API route (except the \u201cmember\u201d parameter will be ignored in favor of the id of the newly created member). This will create an initial transaction for the member to add them to a specific membership.<\/p>\n<p>\n\t<strong>send_welcome_email\u00a0<\/strong>(bool, default value: false) \u2013\u00a0Works only when creating a new Member and if a transaction has been specified. When set to true this will trigger a welcome email to send to the new member. If the user has already received a welcome email, and the membership this transaction is for does not have its own welcome email configured, then no email will be sent.<\/p>\n<p>\n\t<strong>send_password_email\u00a0<\/strong>(bool, default value: false) \u2013\u00a0Works only when creating a new Member. When set to true this will trigger MemberPress set password email\u00a0(template file for this email is\u00a0\/app\/views\/emails\/user_set_password.php) to be sent to the new member.<\/p>\n<p>\n\t<strong>address1<\/strong> (string, default value: empty) \u2013 The user's address line 1.<\/p>\n<p>\n\t<strong>address2<\/strong>\u00a0(string, default value: empty) \u2013 The user's address line 2.<\/p>\n<p>\n\t<strong>city<\/strong>\u00a0(string, default value: empty) \u2013 The user's city.<\/p>\n<p>\n\t<strong>state<\/strong>\u00a0(string, default value: empty) \u2013 The user's state.<\/p>\n<p>\n\t<strong>zip<\/strong>\u00a0(string, default value: empty) \u2013 The user's zip.<\/p>\n<p>\n\t<strong>country<\/strong>\u00a0(string, default value: empty) \u2013 The user's country.<\/p>\n<p>\n\t<strong>usermeta***<\/strong> <a href=\"https:\/\/memberpress.com\/docs\/how-to-add-usermeta-via-rest-api-developer-tools\/\" target=\"_blank\" rel=\"noopener\">more info<\/a><\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/members\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d email=\"zapier@test.com\" \\\n       -d username=\"zapier@test.com\" \\\n       -d first_name=Zapier \\\n       -d last_name=test\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 46,\n  \"email\": \"zapier@test.com\",\n  \"username\": \"zapier@test.com\",\n  \"nicename\": \"zapiertest-com\",\n  \"url\": \"\",\n  \"message\": \"\",\n  \"registered_at\": \"2019-03-19 16:48:20\",\n  \"first_name\": \"Zapier\",\n  \"last_name\": \"test\",\n  \"display_name\": \"zapier@test.com\",\n  \"active_memberships\": [],\n  \"active_txn_count\": \"0\",\n  \"expired_txn_count\": \"1\",\n  \"trial_txn_count\": null,\n  \"sub_count\": null,\n  \"login_count\": \"1\",\n  \"first_txn\": {\n    \"membership\": \"15\",\n    \"member\": \"46\",\n    \"coupon\": \"0\",\n    \"subscription\": \"59\",\n    \"id\": \"166\",\n    \"amount\": \"0.00\",\n    \"total\": \"0.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"cus_EjDYhKuKyRY5N2\",\n    \"status\": \"confirmed\",\n    \"txn_type\": \"subscription_confirmation\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-03-19 16:48:21\",\n    \"expires_at\": \"2019-03-19 16:48:21\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"latest_txn\": {\n    \"membership\": \"15\",\n    \"member\": \"46\",\n    \"coupon\": \"0\",\n    \"subscription\": \"59\",\n    \"id\": \"166\",\n    \"amount\": \"0.00\",\n    \"total\": \"0.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"cus_EjDYhKuKyRY5N2\",\n    \"status\": \"confirmed\",\n    \"txn_type\": \"subscription_confirmation\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-03-19 16:48:21\",\n    \"expires_at\": \"2019-03-19 16:48:21\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"address\": {\n    \"mepr-address-one\": \"123 fake st\",\n    \"mepr-address-two\": \"\",\n    \"mepr-address-city\": \"city\",\n    \"mepr-address-state\": \"UT\",\n    \"mepr-address-zip\": \"81111\",\n    \"mepr-address-country\": \"US\"\n  },\n  \"profile\": {\n    \"mepr_company_name\": \"Zapier test\",\n    \"mepr_birthday\": \"2019-03-19\",\n    \"mepr_testslug\": \"\"\n  },\n  \"recent_transactions\": [\n    {\n      \"membership\": \"15\",\n      \"member\": \"46\",\n      \"coupon\": \"0\",\n      \"subscription\": \"59\",\n      \"id\": \"167\",\n      \"amount\": \"100.00\",\n      \"total\": \"100.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1EFl6yJT1LHvX6IL95fhb7M4\",\n      \"status\": \"refunded\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-03-19 16:48:28\",\n      \"expires_at\": \"2019-04-19 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    {\n      \"membership\": \"15\",\n      \"member\": \"46\",\n      \"coupon\": \"0\",\n      \"subscription\": \"59\",\n      \"id\": \"166\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EjDYhKuKyRY5N2\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-03-19 16:48:21\",\n      \"expires_at\": \"2019-03-19 16:48:21\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    }\n  ],\n  \"recent_subscriptions\": [\n    {\n      \"coupon\": \"0\",\n      \"membership\": \"15\",\n      \"member\": \"46\",\n      \"id\": \"59\",\n      \"subscr_id\": \"cus_EjDYhKuKyRY5N2\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"cancelled\",\n      \"created_at\": \"2019-03-19 16:48:25\",\n      \"total\": \"100.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2030\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    }\n  ]\n}\n<\/pre>\n<h2 id=\"update-member\">Update Member<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Update a Member with the given id and field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>first_name\u00a0<\/strong>(string) \u2013 The User's First Name.\u00a0<\/p>\n<p>\n\t<strong>last_name\u00a0<\/strong>(string) \u2013 The User's Last Name.<\/p>\n<p>\n\t<strong>email\u00a0<\/strong>(Required) (string) \u2013\u00a0The User's Email Address.<\/p>\n<p>\n\t<strong>username\u00a0<\/strong>(Required) (string) -The username for this User. If you're using email addresses as the Username, then both username and email should be set to the same string.<\/p>\n<p>\n\t<strong>password\u00a0<\/strong>(string) \u2013 Works only when creating a new Member. A plaintext password which will be hashed and stored with this user. If a password is not provided, then a random password will be automatically generated for the member. If this field is present when updating a member, they will receive an email to set their password.<\/p>\n<p>\n\t<strong>transaction\u00a0<\/strong>(array, default value: []) \u2013\u00a0Works only when creating a new Member. This is an array conforming to the documentation for the \u201cCreate Transaction\u201d API route (except the \u201cmember\u201d parameter will be ignored in favor of the id of the newly created member). This will create an initial transaction for the member to add them to a specific membership.<\/p>\n<p>\n\t<strong>send_welcome_email\u00a0<\/strong>(bool, default value: false) \u2013\u00a0Works only when creating a new Member and if a transaction has been specified. When set to true this will trigger a welcome email to send to the new member. If the user has already received a welcome email, and the membership this transaction is for does not have its own welcome email configured, then no email will be sent.<\/p>\n<p>\n\t<strong>send_password_email\u00a0<\/strong>(bool, default value: false) \u2013\u00a0Works only when creating a new Member. When set to true\u00a0this will trigger MemberPress set password email\u00a0(template file for this email is\u00a0\/app\/views\/emails\/user_set_password.php)\u00a0to be sent to the new member.<\/p>\n<p>\n\t<strong>address1<\/strong>\u00a0(string, default value: empty) \u2013 The user's address line 1.<\/p>\n<p>\n\t<strong>address2<\/strong>\u00a0(string, default value: empty) \u2013 The user's address line 2.<\/p>\n<p>\n\t<strong>city<\/strong>\u00a0(string, default value: empty) \u2013 The user's city.<\/p>\n<p>\n\t<strong>state<\/strong>\u00a0(string, default value: empty) \u2013 The user's state.<\/p>\n<p>\n\t<strong>zip<\/strong>\u00a0(string, default value: empty) \u2013 The user's zip.<\/p>\n<p>\n\t<strong>country<\/strong>\u00a0(string, default value: empty) \u2013 The user's country.<\/p>\n<p>\n\t<strong>usermeta***<\/strong> <a href=\"https:\/\/memberpress.com\/docs\/how-to-add-usermeta-via-rest-api-developer-tools\/\">more info<\/a><\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/members\/56\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d email=\"zapier@test.com\" \\\n       -d username=zapiertest \\\n       -d first_name=zapier \\\n       -d last_name=test\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 56,\n  \"email\": \"zapier@test.com\",\n  \"username\": \"zapiertest\",\n  \"nicename\": \"zapiertest\",\n  \"url\": \"\",\n  \"message\": \"\",\n  \"registered_at\": \"2019-04-18 16:47:14\",\n  \"first_name\": \"zapier\",\n  \"last_name\": \"test\",\n  \"display_name\": \"zapiertest\",\n  \"active_memberships\": [\n    {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    }\n  ],\n  \"active_txn_count\": \"2\",\n  \"expired_txn_count\": \"0\",\n  \"trial_txn_count\": null,\n  \"sub_count\": null,\n  \"login_count\": \"1\",\n  \"first_txn\": {\n    \"membership\": \"15\",\n    \"member\": \"56\",\n    \"coupon\": \"0\",\n    \"subscription\": \"69\",\n    \"id\": \"198\",\n    \"amount\": \"0.00\",\n    \"total\": \"0.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"cus_EuSIHGllVD3168\",\n    \"status\": \"confirmed\",\n    \"txn_type\": \"subscription_confirmation\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-18 16:47:14\",\n    \"expires_at\": \"2019-04-18 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"latest_txn\": {\n    \"membership\": \"15\",\n    \"member\": \"56\",\n    \"coupon\": \"0\",\n    \"subscription\": \"69\",\n    \"id\": \"199\",\n    \"amount\": \"100.00\",\n    \"total\": \"100.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-18 16:47:21\",\n    \"expires_at\": \"2019-05-18 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"address\": {\n    \"mepr-address-one\": \"123 fake st\",\n    \"mepr-address-two\": \"\",\n    \"mepr-address-city\": \"city\",\n    \"mepr-address-state\": \"UT\",\n    \"mepr-address-zip\": \"81111\",\n    \"mepr-address-country\": \"US\"\n  },\n  \"profile\": {\n    \"mepr_company_name\": \"MemberPress\",\n    \"mepr_birthday\": \"2019-04-18\",\n    \"mepr_testslug\": \"\"\n  },\n  \"recent_transactions\": [\n    {\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"coupon\": \"0\",\n      \"subscription\": \"69\",\n      \"id\": \"199\",\n      \"amount\": \"100.00\",\n      \"total\": \"100.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-18 16:47:21\",\n      \"expires_at\": \"2019-05-18 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    {\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"coupon\": \"0\",\n      \"subscription\": \"69\",\n      \"id\": \"198\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EuSIHGllVD3168\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-18 16:47:14\",\n      \"expires_at\": \"2019-04-18 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    }\n  ],\n  \"recent_subscriptions\": [\n    {\n      \"coupon\": \"0\",\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"id\": \"69\",\n      \"subscr_id\": \"cus_EuSIHGllVD3168\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2019-04-18 16:47:19\",\n      \"total\": \"100.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2020\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    }\n  ]\n}\n<\/pre>\n<h2 id=\"delete-member\">Delete Member<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Delete a Member with the given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X DELETE \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/members\/56\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 56,\n  \"email\": \"zapier@test.com\",\n  \"username\": \"zapiertest\",\n  \"nicename\": \"zapiertest\",\n  \"url\": \"\",\n  \"message\": \"\",\n  \"registered_at\": \"2019-04-18 16:47:14\",\n  \"first_name\": \"zapier\",\n  \"last_name\": \"test\",\n  \"display_name\": \"zapiertest\",\n  \"active_memberships\": [\n    {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    }\n  ],\n  \"active_txn_count\": \"2\",\n  \"expired_txn_count\": \"0\",\n  \"trial_txn_count\": null,\n  \"sub_count\": null,\n  \"login_count\": \"1\",\n  \"first_txn\": {\n    \"membership\": \"15\",\n    \"member\": \"56\",\n    \"coupon\": \"0\",\n    \"subscription\": \"69\",\n    \"id\": \"198\",\n    \"amount\": \"0.00\",\n    \"total\": \"0.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"cus_EuSIHGllVD3168\",\n    \"status\": \"confirmed\",\n    \"txn_type\": \"subscription_confirmation\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-18 16:47:14\",\n    \"expires_at\": \"2019-04-18 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"latest_txn\": {\n    \"membership\": \"15\",\n    \"member\": \"56\",\n    \"coupon\": \"0\",\n    \"subscription\": \"69\",\n    \"id\": \"199\",\n    \"amount\": \"100.00\",\n    \"total\": \"100.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-18 16:47:21\",\n    \"expires_at\": \"2019-05-18 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"address\": {\n    \"mepr-address-one\": \"123 fake st\",\n    \"mepr-address-two\": \"\",\n    \"mepr-address-city\": \"city\",\n    \"mepr-address-state\": \"UT\",\n    \"mepr-address-zip\": \"81111\",\n    \"mepr-address-country\": \"US\"\n  },\n  \"profile\": {\n    \"mepr_company_name\": \"MemberPress\",\n    \"mepr_birthday\": \"2019-04-18\",\n    \"mepr_testslug\": \"\"\n  },\n  \"recent_transactions\": [\n    {\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"coupon\": \"0\",\n      \"subscription\": \"69\",\n      \"id\": \"199\",\n      \"amount\": \"100.00\",\n      \"total\": \"100.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n      \"status\": \"complete\",\n      \"txn_type\": \"payment\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-18 16:47:21\",\n      \"expires_at\": \"2019-05-18 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    {\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"coupon\": \"0\",\n      \"subscription\": \"69\",\n      \"id\": \"198\",\n      \"amount\": \"0.00\",\n      \"total\": \"0.00\",\n      \"tax_amount\": \"0.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"trans_num\": \"cus_EuSIHGllVD3168\",\n      \"status\": \"confirmed\",\n      \"txn_type\": \"subscription_confirmation\",\n      \"gateway\": \"peum51-1tc\",\n      \"prorated\": \"0\",\n      \"created_at\": \"2019-04-18 16:47:14\",\n      \"expires_at\": \"2019-04-18 23:59:59\",\n      \"corporate_account_id\": \"0\",\n      \"parent_transaction_id\": \"0\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    }\n  ],\n  \"recent_subscriptions\": [\n    {\n      \"coupon\": \"0\",\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"id\": \"69\",\n      \"subscr_id\": \"cus_EuSIHGllVD3168\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2019-04-18 16:47:19\",\n      \"total\": \"100.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2020\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    }\n  ]\n}\n<\/pre>\n<h2 id=\"get-rules\">Get Rules<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get all Rules based on the search arguments provided.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t<strong>page<\/strong>\u00a0(integer, default value: 1) \u2013\u00a0Current page of the collection.\u00a0<\/p>\n<p>\n\t<strong>per_page<\/strong>\u00a0(integer, default value: 10) \u2013\u00a0Maximum number of items to be returned in result set.<\/p>\n<p>\n\t<strong>search\u00a0<\/strong>(string) \u2013\u00a0Limit results to those matching a string.<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/rules?page=2&per_page=10\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>[\n  {\n    \"id\": 227,\n    \"title\": \"A Single Page: Test page\",\n    \"date\": \"2019-02-20 10:34:06\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"http:\/\/zapier.test.com\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:42:13\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-02-20 17:34:06\",\n    \"modified\": \"2019-02-20 10:34:06\",\n    \"modified_gmt\": \"2019-02-20 17:34:06\",\n    \"rule_type\": \"single_page\",\n    \"rule_content\": \"225\",\n    \"is_rule_content_regex\": false,\n    \"drip_enabled\": false,\n    \"drip_amount\": \"0\",\n    \"drip_unit\": \"days\",\n    \"drip_after\": \"registers\",\n    \"drip_after_fixed\": \"\",\n    \"expires_enabled\": false,\n    \"expires_amount\": \"0\",\n    \"expires_unit\": \"days\",\n    \"expires_after\": \"registers\",\n    \"expires_after_fixed\": \"\",\n    \"unauth_excerpt_type\": \"default\",\n    \"unauth_excerpt_size\": \"100\",\n    \"unauth_message_type\": \"default\",\n    \"unauth_message\": \"\",\n    \"unauth_login\": \"default\",\n    \"auto_gen_title\": \"1\"\n  },\n  {\n    \"id\": 175,\n    \"title\": \"Partial:\",\n    \"date\": \"2018-12-14 14:57:43\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"http:\/\/zapier.test.com\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:42:13\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2018-12-14 21:57:43\",\n    \"modified\": \"2018-12-14 14:57:43\",\n    \"modified_gmt\": \"2018-12-14 21:57:43\",\n    \"rule_type\": \"partial\",\n    \"rule_content\": \"\",\n    \"is_rule_content_regex\": false,\n    \"drip_enabled\": false,\n    \"drip_amount\": \"0\",\n    \"drip_unit\": \"days\",\n    \"drip_after\": \"registers\",\n    \"drip_after_fixed\": \"\",\n    \"expires_enabled\": false,\n    \"expires_amount\": \"0\",\n    \"expires_unit\": \"days\",\n    \"expires_after\": \"registers\",\n    \"expires_after_fixed\": \"\",\n    \"unauth_excerpt_type\": \"default\",\n    \"unauth_excerpt_size\": \"100\",\n    \"unauth_message_type\": \"default\",\n    \"unauth_message\": \"\",\n    \"unauth_login\": \"default\",\n    \"auto_gen_title\": \"1\"\n  },\n  {\n    \"id\": 77,\n    \"title\": \"A Single Forum: Forum 1\",\n    \"date\": \"2018-09-13 16:41:59\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 2,\n      \"email\": \"\",\n      \"username\": \"demo\",\n      \"nicename\": \"demo\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:27:02\",\n      \"first_name\": \"\",\n      \"last_name\": \"\",\n      \"display_name\": \"demo\"\n    },\n    \"date_gmt\": \"2018-09-13 22:41:59\",\n    \"modified\": \"2018-09-13 16:41:59\",\n    \"modified_gmt\": \"2018-09-13 22:41:59\",\n    \"rule_type\": \"single_forum\",\n    \"rule_content\": \"73\",\n    \"is_rule_content_regex\": false,\n    \"drip_enabled\": false,\n    \"drip_amount\": \"0\",\n    \"drip_unit\": \"days\",\n    \"drip_after\": \"registers\",\n    \"drip_after_fixed\": \"\",\n    \"expires_enabled\": false,\n    \"expires_amount\": \"0\",\n    \"expires_unit\": \"days\",\n    \"expires_after\": \"registers\",\n    \"expires_after_fixed\": \"\",\n    \"unauth_excerpt_type\": \"default\",\n    \"unauth_excerpt_size\": \"100\",\n    \"unauth_message_type\": \"default\",\n    \"unauth_message\": \"\",\n    \"unauth_login\": \"default\",\n    \"auto_gen_title\": \"1\"\n  },\n  {\n    \"id\": 23,\n    \"title\": \"A Single Page: Sample Page\",\n    \"date\": \"2018-08-30 16:14:57\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 2,\n      \"email\": \"\",\n      \"username\": \"demo\",\n      \"nicename\": \"demo\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:27:02\",\n      \"first_name\": \"\",\n      \"last_name\": \"\",\n      \"display_name\": \"demo\"\n    },\n    \"date_gmt\": \"2018-08-30 16:14:57\",\n    \"modified\": \"2018-12-19 10:48:44\",\n    \"modified_gmt\": \"2018-12-19 17:48:44\",\n    \"rule_type\": \"single_page\",\n    \"rule_content\": \"2\",\n    \"is_rule_content_regex\": false,\n    \"drip_enabled\": false,\n    \"drip_amount\": \"0\",\n    \"drip_unit\": \"days\",\n    \"drip_after\": \"registers\",\n    \"drip_after_fixed\": \"\",\n    \"expires_enabled\": false,\n    \"expires_amount\": \"0\",\n    \"expires_unit\": \"days\",\n    \"expires_after\": \"registers\",\n    \"expires_after_fixed\": \"\",\n    \"unauth_excerpt_type\": \"default\",\n    \"unauth_excerpt_size\": \"100\",\n    \"unauth_message_type\": \"default\",\n    \"unauth_message\": \"\",\n    \"unauth_login\": \"default\",\n    \"auto_gen_title\": \"1\"\n  }\n]\n<\/pre>\n<h2 id=\"get-rule\">Get Rule<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get one Rule with a given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/rules\/227\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 227,\n  \"title\": \"A Single Page: Test page\",\n  \"date\": \"2019-02-20 10:34:06\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-02-20 17:34:06\",\n  \"modified\": \"2019-02-20 10:34:06\",\n  \"modified_gmt\": \"2019-02-20 17:34:06\",\n  \"rule_type\": \"single_page\",\n  \"rule_content\": \"225\",\n  \"is_rule_content_regex\": false,\n  \"drip_enabled\": false,\n  \"drip_amount\": \"0\",\n  \"drip_unit\": \"days\",\n  \"drip_after\": \"registers\",\n  \"drip_after_fixed\": \"\",\n  \"expires_enabled\": false,\n  \"expires_amount\": \"0\",\n  \"expires_unit\": \"days\",\n  \"expires_after\": \"registers\",\n  \"expires_after_fixed\": \"\",\n  \"unauth_excerpt_type\": \"default\",\n  \"unauth_excerpt_size\": \"100\",\n  \"unauth_message_type\": \"default\",\n  \"unauth_message\": \"\",\n  \"unauth_login\": \"default\",\n  \"auto_gen_title\": \"1\"\n}\n<\/pre>\n<h2 id=\"create-rule\">Create Rule<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Create a Rule with the given field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>rule_type<\/strong> (string, default value: all) \u2013\u00a0The type of Rule you are creating.<\/p>\n<p>\n\t<strong>rule_content<\/strong> (string) \u2013\u00a0The ID of the rule_type being protected. For example, if you protect a Single Page, then you would set this to the ID of that page. If you protect an entire category, then you would set this to the ID of that category.<\/p>\n<p>\n\t<strong>is_rule_content_regex<\/strong> (bool, default value: false) \u2013\u00a0Whether to use Regular Expression matching on \u201ccustom\u201d (aka Custom URI) rule_type's.<\/p>\n<p>\n\t<strong>authorized_memberships<\/strong> (Required) (array, default value: []) \u2013\u00a0An array of Membership ID's which grant the Member access to the Content being protected by this Rule.<\/p>\n<p>\n\t<strong>drip_enabled <\/strong>(bool, default value: false) \u2013\u00a0Whether Dripping should be enabled on this Rule.<\/p>\n<p>\n\t<strong>drip_amount<\/strong> (integer, default value: 1) \u2013\u00a0The number of units to delay Dripping by.<\/p>\n<p>\n\t<strong>drip_unit<\/strong> (string, default value: days) \u2013\u00a0The unit to Drip the Content by.<\/p>\n<p>\n\t<strong>drip_after<\/strong> (string, default value: registers) \u2013\u00a0The date to base the Dripping off of.<\/p>\n<p>\n\t<strong>drip_after_fixed<\/strong> (string) \u2013\u00a0If drip_after is set to \u201cfixed\u201d, then this is required and must be a valid date in the future which PHP's strtotime() function can interpret.<\/p>\n<p>\n\t<strong>expires_enabled<\/strong> (bool, default value: false) \u2013\u00a0Whether Content Expiration should be enabled on this Rule.<\/p>\n<p>\n\t<strong>expires_amount<\/strong> (integer, default value: 1) \u2013\u00a0The number of units to delay Content Expiration by.<\/p>\n<p>\n\t<strong>expire_unit<\/strong> (string, default value: days) \u2013\u00a0The unit to Expire the Content by.<\/p>\n<p>\n\t<strong>expire_after<\/strong> (string, default value: registers) \u2013\u00a0The date to base the Content Expiration off of.<\/p>\n<p>\n\t<strong>expires_after_fixed<\/strong> (string) \u2013\u00a0If expires_after is set to \u201cfixed\u201d, then this is required and must be a valid date in the future which PHP's strtotime() function can interpret.<\/p>\n<p>\n\t<strong>unauth_excerpt_type<\/strong> (string, default value: default) \u2013\u00a0The type of excerpt from the protected Content to show to unauthorized visitors. If set to anything other than \u201cdefault\u201d this will override the global behavior set in the MemberPress Options for any Content protected by this Rule.<\/p>\n<p>\n\t<strong>unauth_excerpt_size<\/strong> (integer, default value: 100) \u2013\u00a0This is only used if unauth_exceprt_type is set to \u201ccustom\u201d. It will show X characters of the actual protected Content as the excerpt to unauthorized visitors.<\/p>\n<p>\n\t<strong>unath_message_type<\/strong> (string, default value: default) \u2013\u00a0The type of message to show to unauthorized users trying to view Content protected by this Rule. If set to anything other than \u201cdefault\u201d this will override the global behavior set in the MemberPress Options for any Content protected by this Rule.<\/p>\n<p>\n\t<strong>unauth_message<\/strong> (string) \u2013\u00a0If the unauth_message_type is set to \u201ccustom\u201d, then this string will be shown as the message which unauthorized users will see when they try to view Content protected by this Rule.<\/p>\n<p>\n\t<strong>unauth_login<\/strong> (string, default value: default) \u2013\u00a0Whether or not to show\/hide the Login Form, or leave at the default global settings in the MemberPress Options.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/rules\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d rule_type=single_page \\\n       -d rule_content=225 \\\n       -d drip_unit=days \\\n       -d drip_after=registers \\\n       -d expires_unit=days \\\n       -d expires_after=registers \\\n       -d unauth_excerpt_type=default \\\n       -d unauth_excerpt_size=100 \\\n       -d unauth_message_type=default \\\n       -d unauth_login=default\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 227,\n  \"title\": \"A Single Page: Test page\",\n  \"date\": \"2019-02-20 10:34:06\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-02-20 17:34:06\",\n  \"modified\": \"2019-02-20 10:34:06\",\n  \"modified_gmt\": \"2019-02-20 17:34:06\",\n  \"rule_type\": \"single_page\",\n  \"rule_content\": \"225\",\n  \"is_rule_content_regex\": false,\n  \"drip_enabled\": false,\n  \"drip_amount\": \"0\",\n  \"drip_unit\": \"days\",\n  \"drip_after\": \"registers\",\n  \"drip_after_fixed\": \"\",\n  \"expires_enabled\": false,\n  \"expires_amount\": \"0\",\n  \"expires_unit\": \"days\",\n  \"expires_after\": \"registers\",\n  \"expires_after_fixed\": \"\",\n  \"unauth_excerpt_type\": \"default\",\n  \"unauth_excerpt_size\": \"100\",\n  \"unauth_message_type\": \"default\",\n  \"unauth_message\": \"\",\n  \"unauth_login\": \"default\",\n  \"auto_gen_title\": \"1\"\n}\n<\/pre>\n<h2 id=\"update-rule\">Update Rule<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Update a Rule with the given id and field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>rule_type<\/strong> (string, default value: all) \u2013\u00a0The type of Rule you are creating.<\/p>\n<p>\n\t<strong>rule_content<\/strong> (string) \u2013\u00a0The ID of the rule_type being protected. For example, if you protect a Single Page, then you would set this to the ID of that page. If you protect an entire category, then you would set this to the ID of that category.<\/p>\n<p>\n\t<strong>is_rule_content_regex<\/strong> (bool, default value: false) \u2013\u00a0Whether to use Regular Expression matching on \u201ccustom\u201d (aka Custom URI) rule_type's.<\/p>\n<p>\n\t<strong>authorized_memberships<\/strong> (Required) (array, default value: []) \u2013\u00a0An array of Membership ID's which grant the Member access to the Content being protected by this Rule.<\/p>\n<p>\n\t<strong>drip_enabled <\/strong>(bool, default value: false) \u2013\u00a0Whether Dripping should be enabled on this Rule.<\/p>\n<p>\n\t<strong>drip_amount<\/strong> (integer, default value: 1) \u2013\u00a0The number of units to delay Dripping by.<\/p>\n<p>\n\t<strong>drip_unit<\/strong> (string, default value: days) \u2013\u00a0The unit to Drip the Content by.<\/p>\n<p>\n\t<strong>drip_after<\/strong> (string, default value: registers) \u2013\u00a0The date to base the Dripping off of.<\/p>\n<p>\n\t<strong>drip_after_fixed<\/strong> (string) \u2013\u00a0If drip_after is set to \u201cfixed\u201d, then this is required and must be a valid date in the future which PHP's strtotime() function can interpret.<\/p>\n<p>\n\t<strong>expires_enabled<\/strong> (bool, default value: false) \u2013\u00a0Whether Content Expiration should be enabled on this Rule.<\/p>\n<p>\n\t<strong>expires_amount<\/strong> (integer, default value: 1) \u2013\u00a0The number of units to delay Content Expiration by.<\/p>\n<p>\n\t<strong>expire_unit<\/strong> (string, default value: days) \u2013\u00a0The unit to Expire the Content by.<\/p>\n<p>\n\t<strong>expire_after<\/strong> (string, default value: registers) \u2013\u00a0The date to base the Content Expiration off of.<\/p>\n<p>\n\t<strong>expires_after_fixed<\/strong> (string) \u2013\u00a0If expires_after is set to \u201cfixed\u201d, then this is required and must be a valid date in the future which PHP's strtotime() function can interpret.<\/p>\n<p>\n\t<strong>unauth_excerpt_type<\/strong> (string, default value: default) \u2013\u00a0The type of excerpt from the protected Content to show to unauthorized visitors. If set to anything other than \u201cdefault\u201d this will override the global behavior set in the MemberPress Options for any Content protected by this Rule.<\/p>\n<p>\n\t<strong>unauth_excerpt_size<\/strong> (integer, default value: 100) \u2013\u00a0This is only used if unauth_exceprt_type is set to \u201ccustom\u201d. It will show X characters of the actual protected Content as the excerpt to unauthorized visitors.<\/p>\n<p>\n\t<strong>unath_message_type<\/strong> (string, default value: default) \u2013\u00a0The type of message to show to unauthorized users trying to view Content protected by this Rule. If set to anything other than \u201cdefault\u201d this will override the global behavior set in the MemberPress Options for any Content protected by this Rule.<\/p>\n<p>\n\t<strong>unauth_message<\/strong> (string) \u2013\u00a0If the unauth_message_type is set to \u201ccustom\u201d, then this string will be shown as the message which unauthorized users will see when they try to view Content protected by this Rule.<\/p>\n<p>\n\t<strong>unauth_login<\/strong> (string, default value: default) \u2013\u00a0Whether or not to show\/hide the Login Form, or leave at the default global settings in the MemberPress Options.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/rules\/227\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d rule_type=single_page \\\n       -d rule_content=225 \\\n       -d drip_unit=days \\\n       -d drip_after=registers \\\n       -d expires_unit=days \\\n       -d expires_after=registers \\\n       -d unauth_excerpt_type=default \\\n       -d unauth_excerpt_size=100 \\\n       -d unauth_message_type=default \\\n       -d unauth_login=default\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 227,\n  \"title\": \"A Single Page: Test page\",\n  \"date\": \"2019-02-20 10:34:06\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-02-20 17:34:06\",\n  \"modified\": \"2019-02-20 10:34:06\",\n  \"modified_gmt\": \"2019-02-20 17:34:06\",\n  \"rule_type\": \"single_page\",\n  \"rule_content\": \"225\",\n  \"is_rule_content_regex\": false,\n  \"drip_enabled\": false,\n  \"drip_amount\": \"0\",\n  \"drip_unit\": \"days\",\n  \"drip_after\": \"registers\",\n  \"drip_after_fixed\": \"\",\n  \"expires_enabled\": false,\n  \"expires_amount\": \"0\",\n  \"expires_unit\": \"days\",\n  \"expires_after\": \"registers\",\n  \"expires_after_fixed\": \"\",\n  \"unauth_excerpt_type\": \"default\",\n  \"unauth_excerpt_size\": \"100\",\n  \"unauth_message_type\": \"default\",\n  \"unauth_message\": \"\",\n  \"unauth_login\": \"default\",\n  \"auto_gen_title\": \"1\"\n}\n<\/pre>\n<h2 id=\"delete-rule\">Delete Rule<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Delete a Rule with the given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X DELETE \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/rules\/227\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 227,\n  \"title\": \"A Single Page: Test page\",\n  \"date\": \"2019-02-20 10:34:06\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-02-20 17:34:06\",\n  \"modified\": \"2019-02-20 10:34:06\",\n  \"modified_gmt\": \"2019-02-20 17:34:06\",\n  \"rule_type\": \"single_page\",\n  \"rule_content\": \"225\",\n  \"is_rule_content_regex\": false,\n  \"drip_enabled\": false,\n  \"drip_amount\": \"0\",\n  \"drip_unit\": \"days\",\n  \"drip_after\": \"registers\",\n  \"drip_after_fixed\": \"\",\n  \"expires_enabled\": false,\n  \"expires_amount\": \"0\",\n  \"expires_unit\": \"days\",\n  \"expires_after\": \"registers\",\n  \"expires_after_fixed\": \"\",\n  \"unauth_excerpt_type\": \"default\",\n  \"unauth_excerpt_size\": \"100\",\n  \"unauth_message_type\": \"default\",\n  \"unauth_message\": \"\",\n  \"unauth_login\": \"default\",\n  \"auto_gen_title\": \"1\"\n}\n<\/pre>\n<h2 id=\"get-memberships\">Get Memberships<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get all Memberships based on the search arguments provided.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t<strong>page<\/strong>\u00a0(integer, default value: 1) \u2013\u00a0Current page of the collection.\u00a0<\/p>\n<p>\n\t<strong>per_page<\/strong>\u00a0(integer, default value: 10) \u2013\u00a0Maximum number of items to be returned in result set.<\/p>\n<p>\n\t<strong>search\u00a0<\/strong>(string) \u2013\u00a0Limit results to those matching a string.<\/p>\n<p>\n\t<strong>group<\/strong>\u00a0(integer) \u2013\u00a0Limit results to those matching a specific group.\u00a0<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/memberships?page=2&per_page=10\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>[\n  {\n    \"id\": 274,\n    \"title\": \"3 day free trial\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-04-10 12:05:01\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-04-10 18:05:01\",\n    \"modified\": \"2019-04-10 12:05:01\",\n    \"modified_gmt\": \"2019-04-10 18:05:01\",\n    \"group\": \"0\",\n    \"price\": \"25.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": \"1\",\n    \"trial_days\": \"3\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"0\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"3 day free trial\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-04-10\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  {\n    \"id\": 271,\n    \"title\": \"One day membership\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-04-04 12:14:54\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-04-04 18:14:54\",\n    \"modified\": \"2019-04-04 12:14:54\",\n    \"modified_gmt\": \"2019-04-04 18:14:54\",\n    \"group\": \"0\",\n    \"price\": \"10.00\",\n    \"period\": \"1\",\n    \"period_type\": \"lifetime\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"0\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"One day membership\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"delay\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-04-04\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  {\n    \"id\": 267,\n    \"title\": \"coupon testing\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-04-03 11:18:41\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-04-03 17:18:41\",\n    \"modified\": \"2019-04-04 10:58:44\",\n    \"modified_gmt\": \"2019-04-04 16:58:44\",\n    \"group\": \"0\",\n    \"price\": \"9.99\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": \"1\",\n    \"trial_days\": \"90\",\n    \"trial_amount\": \"29.94\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"0\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"coupon testing\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-04-04\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  {\n    \"id\": 251,\n    \"title\": \"25 2\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-03-13 16:20:43\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-03-13 22:20:43\",\n    \"modified\": \"2019-03-20 13:02:42\",\n    \"modified_gmt\": \"2019-03-20 19:02:42\",\n    \"group\": {\n      \"id\": 252,\n      \"title\": \"25 group\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-03-13 16:21:20\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-03-13 22:21:20\",\n      \"modified\": \"2019-03-13 16:21:20\",\n      \"modified_gmt\": \"2019-03-13 22:21:20\",\n      \"pricing_page_disabled\": false,\n      \"disable_change_plan_popup\": false,\n      \"is_upgrade_path\": \"1\",\n      \"upgrade_path_reset_period\": false,\n      \"group_theme\": \"minimal_gray_horizontal.css\",\n      \"fallback_membership\": \"\",\n      \"page_button_class\": \"\",\n      \"page_button_highlighted_class\": \"\",\n      \"page_button_disabled_class\": \"\",\n      \"alternate_group_url\": \"\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\"\n    },\n    \"price\": \"10000.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"1\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"25 2\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-03-20\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  {\n    \"id\": 250,\n    \"title\": \"25 1\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-03-13 16:20:17\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-03-13 22:20:17\",\n    \"modified\": \"2019-03-13 16:20:17\",\n    \"modified_gmt\": \"2019-03-13 22:20:17\",\n    \"group\": {\n      \"id\": 252,\n      \"title\": \"25 group\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-03-13 16:21:20\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-03-13 22:21:20\",\n      \"modified\": \"2019-03-13 16:21:20\",\n      \"modified_gmt\": \"2019-03-13 22:21:20\",\n      \"pricing_page_disabled\": false,\n      \"disable_change_plan_popup\": false,\n      \"is_upgrade_path\": \"1\",\n      \"upgrade_path_reset_period\": false,\n      \"group_theme\": \"minimal_gray_horizontal.css\",\n      \"fallback_membership\": \"\",\n      \"page_button_class\": \"\",\n      \"page_button_highlighted_class\": \"\",\n      \"page_button_disabled_class\": \"\",\n      \"alternate_group_url\": \"\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\"\n    },\n    \"price\": \"25.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"0\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"25 1\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-03-13\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  {\n    \"id\": 247,\n    \"title\": \"274 yearly\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-03-04 15:47:14\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-03-04 22:47:14\",\n    \"modified\": \"2019-03-04 15:47:14\",\n    \"modified_gmt\": \"2019-03-04 22:47:14\",\n    \"group\": {\n      \"id\": 248,\n      \"title\": \"proration\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-03-04 15:47:52\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-03-04 22:47:52\",\n      \"modified\": \"2019-03-04 15:47:52\",\n      \"modified_gmt\": \"2019-03-04 22:47:52\",\n      \"pricing_page_disabled\": false,\n      \"disable_change_plan_popup\": false,\n      \"is_upgrade_path\": \"1\",\n      \"upgrade_path_reset_period\": false,\n      \"group_theme\": \"minimal_gray_horizontal.css\",\n      \"fallback_membership\": \"\",\n      \"page_button_class\": \"\",\n      \"page_button_highlighted_class\": \"\",\n      \"page_button_disabled_class\": \"\",\n      \"alternate_group_url\": \"\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\"\n    },\n    \"price\": \"274.00\",\n    \"period\": \"1\",\n    \"period_type\": \"years\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"1\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"274 yearly\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-03-04\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  {\n    \"id\": 246,\n    \"title\": \"264 one time\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-03-04 15:46:37\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-03-04 22:46:37\",\n    \"modified\": \"2019-03-04 15:46:37\",\n    \"modified_gmt\": \"2019-03-04 22:46:37\",\n    \"group\": {\n      \"id\": 248,\n      \"title\": \"proration\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-03-04 15:47:52\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-03-04 22:47:52\",\n      \"modified\": \"2019-03-04 15:47:52\",\n      \"modified_gmt\": \"2019-03-04 22:47:52\",\n      \"pricing_page_disabled\": false,\n      \"disable_change_plan_popup\": false,\n      \"is_upgrade_path\": \"1\",\n      \"upgrade_path_reset_period\": false,\n      \"group_theme\": \"minimal_gray_horizontal.css\",\n      \"fallback_membership\": \"\",\n      \"page_button_class\": \"\",\n      \"page_button_highlighted_class\": \"\",\n      \"page_button_disabled_class\": \"\",\n      \"alternate_group_url\": \"\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\"\n    },\n    \"price\": \"264.00\",\n    \"period\": \"1\",\n    \"period_type\": \"lifetime\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"0\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"264 one time\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"delay\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"years\",\n    \"expire_fixed\": \"2019-03-04\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  {\n    \"id\": 210,\n    \"title\": \"1 day trial\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-02-07 12:39:50\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-02-07 19:39:50\",\n    \"modified\": \"2019-02-07 12:41:11\",\n    \"modified_gmt\": \"2019-02-07 19:41:11\",\n    \"group\": \"0\",\n    \"price\": \"10.00\",\n    \"period\": \"1\",\n    \"period_type\": \"lifetime\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"0\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Free 14 day trial\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"delay\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-02-07\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  {\n    \"id\": 209,\n    \"title\": \"Trial period double signup\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-02-06 15:14:14\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-02-06 22:14:14\",\n    \"modified\": \"2019-02-25 14:13:29\",\n    \"modified_gmt\": \"2019-02-25 21:13:29\",\n    \"group\": \"0\",\n    \"price\": \"10.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"1\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"0\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Trial period double signup\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"delay\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-02-25\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": \"1\",\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  {\n    \"id\": 196,\n    \"title\": \"coupon test\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2019-01-10 15:36:20\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n     \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-01-10 22:36:20\",\n    \"modified\": \"2019-02-19 12:15:59\",\n    \"modified_gmt\": \"2019-02-19 19:15:59\",\n    \"group\": \"0\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"years\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": \"1\",\n    \"trial_days\": \"14\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"0\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"coupon test\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"auto\",\n    \"custom_price\": \"\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-02-19\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": false,\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": false,\n    \"custom_payment_methods\": [],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  }\n]\n<\/pre>\n<h2 id=\"get-membership\">Get Membership<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get one Membership with a given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/memberships\/274\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 274,\n  \"title\": \"3 day free trial\",\n  \"content\": \"\",\n  \"excerpt\": \"\",\n  \"date\": \"2019-04-10 12:05:01\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-04-10 18:05:01\",\n  \"modified\": \"2019-04-10 12:05:01\",\n  \"modified_gmt\": \"2019-04-10 18:05:01\",\n  \"group\": \"0\",\n  \"price\": \"25.00\",\n  \"period\": \"1\",\n  \"period_type\": \"months\",\n  \"signup_button_text\": \"Sign Up\",\n  \"limit_cycles\": false,\n  \"limit_cycles_num\": \"2\",\n  \"limit_cycles_action\": \"expire\",\n  \"trial\": \"1\",\n  \"trial_days\": \"3\",\n  \"trial_amount\": \"0.00\",\n  \"trial_once\": \"1\",\n  \"group_order\": \"0\",\n  \"is_highlighted\": false,\n  \"plan_code\": \"\",\n  \"pricing_title\": \"3 day free trial\",\n  \"pricing_show_price\": true,\n  \"pricing_display\": \"auto\",\n  \"custom_price\": \"\",\n  \"pricing_heading_txt\": \"\",\n  \"pricing_footer_txt\": \"\",\n  \"pricing_button_txt\": \"Sign Up\",\n  \"pricing_button_position\": \"footer\",\n  \"pricing_benefits\": [\n    \"\"\n  ],\n  \"register_price_action\": \"default\",\n  \"register_price\": \"\",\n  \"thank_you_page_enabled\": false,\n  \"thank_you_page_type\": \"message\",\n  \"thank_you_message\": \"\",\n  \"thank_you_page_id\": \"0\",\n  \"custom_login_urls_enabled\": false,\n  \"custom_login_urls_default\": \"\",\n  \"custom_login_urls\": [],\n  \"expire_type\": \"none\",\n  \"expire_after\": \"1\",\n  \"expire_unit\": \"days\",\n  \"expire_fixed\": \"2019-04-10\",\n  \"tax_exempt\": false,\n  \"allow_renewal\": false,\n  \"access_url\": \"\",\n  \"disable_address_fields\": false,\n  \"simultaneous_subscriptions\": false,\n  \"use_custom_template\": false,\n  \"custom_template\": \"template-sitemap.php\",\n  \"customize_payment_methods\": false,\n  \"custom_payment_methods\": [],\n  \"customize_profile_fields\": false,\n  \"custom_profile_fields\": [],\n  \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n}\n<\/pre>\n<h2 id=\"create-membership\">Create\u00a0Membership<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Create a Membership with the given field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>title<\/strong> (Require) (string) \u2013\u00a0The title of the Membership.<\/p>\n<p>\n\t<strong>price<\/strong> (decimal, default value: 0.00) \u2013\u00a0The base price for the Membership.<\/p>\n<p>\n\t<strong>period<\/strong> (integer, default value: 1) \u2013\u00a0The Period for the Membership billing cycles. For one-time payments leave this set to 1. If you wanted to bill the customer once a quarter, you would set this to 3 and the period_type to months. There are some limitations depending on the period_type.<\/p>\n<p>\n\t<strong>period_type<\/strong> (string, default value: lifetime) \u2013\u00a0The billing period type. For non-recurring payments this should always be set to \u201clifetime\u201d. Other possible values are \u201cweeks\u201d, \u201cmonths\u201d and \u201cyears\u201d. There are some limitations depending on the period.<\/p>\n<p>\n\t<strong>signup_button_text<\/strong> (string, default value: Sign Up) \u2013\u00a0The text shown on the submit button shown on this Membership's registration form.<\/p>\n<p>\n\t<strong>limit_cycles<\/strong> (bool, default value: false) \u2013\u00a0Whether or not to limit the billing cycles for recurring membership payments. If set to true, MemberPress will cancel the recurring payments after the limit_cycles_num amount has been reached.<\/p>\n<p>\n\t<strong>limit_cycles_num<\/strong> (integer, default value: 2) \u2013\u00a0If limit_cycles is true, then this number is used to determine how many recurring billings should happen before MemberPress automatically cancels the Subscription. If set to 1, the Subscription will be cancelled immediately after the first payment has come through, however the member will maintain access until their Transaction has expired.<\/p>\n<p>\n\t<strong>limit_cycles_action<\/strong> (string, default value: expire) \u2013\u00a0If limit_cycles is enabled, then this will determine the Member's access after their Subscription has reached its limit_cycles_num limit and has been cancelled. If set to \u201cexpire\u201d then the Member will lose access after their last Transaction expires. If set to \u201clifetime\u201d, the Member will be granted lifetime access.<\/p>\n<p>\n\t<strong>trial<\/strong> (bool, default value: false) \u2013\u00a0Whether or not there will be a trial period on this Membership. Trial periods ONLY work on auto-recurring payments.<\/p>\n<p>\n\t<strong>trial_days<\/strong> (integer, default value: 0) \u2013\u00a0How many days the trial period should last before the regular billing cycles begin.<\/p>\n<p>\n\t<strong>trial_amount<\/strong> (decimal, default value: 0.00) \u2013\u00a0If a trial period is enabled, this specifies how much the user will pay for the trial period.<\/p>\n<p>\n\t<strong>group<\/strong> (integer, default value: 0) \u2013\u00a0The ID of a MemberPress Group which this Membership should belong to. Defaults to no Group.<\/p>\n<p>\n\t<strong>group_order<\/strong> (integer, default value: 0) \u2013\u00a0If the Membership belongs to a Group, this will determine its placement on the Group page and is also used to determine the Upgrade\/Downgrade paths.<\/p>\n<p>\n\t<strong>is_highlighted<\/strong> (bool, default value: false) \u2013\u00a0Whether or not to highlight this Membership in the Group. This adds extra CSS classes to make the Group pricing\/features box stand out from the others.<\/p>\n<p>\n\t<strong>pricing_title<\/strong> (string) \u2013\u00a0The title that shows at the top of the pricing box on a Group page.<\/p>\n<p>\n\t<strong>pricing_display<\/strong> (string, default value: auto) \u2013\u00a0How to display the price on this Membership's pricing box on the Group page.<\/p>\n<p>\n\t<strong>pricing_heading_txt<\/strong> (string) \u2013\u00a0A heading to show on this pricing box. Shows below price, but above features\/benefits list.<\/p>\n<p>\n\t<strong>pricing_footer_txt<\/strong> (string) \u2013\u00a0Show a message at the foot of the pricing box. Shows right above the purchase button.<\/p>\n<p>\n\t<strong>pricing_button_txt<\/strong> (string) \u2013\u00a0The text of the purchase button.<\/p>\n<p>\n\t<strong>pricing_benefits<\/strong> (array, default value: []) \u2013\u00a0An array of strings. Each string will show as a line-item on the pricing box on the Group page.<\/p>\n<p>\n\t<strong>register_price<\/strong> (string) \u2013\u00a0A custom pricing string for this Membership. This is only used if register_price_action is set to \u201ccustom\u201d.<\/p>\n<p>\n\t<strong>register_price_action<\/strong> (string, default value: default) \u2013\u00a0Whether to use the default pricing string generated by MemberPress, a custom pricing string, or to hide the pricing string completely.<\/p>\n<p>\n\t<strong>thank_you_page_enabled<\/strong> (bool, default value: false) \u2013\u00a0If set to true, the content on the Thank You page will be overridden with the message contained in thank_you_message value.<\/p>\n<p>\n\t<strong>thank_you_message<\/strong> (string) \u2013\u00a0A string containing the Custom Thank You Page Message which is shown on the Thank You page anytime this Membership is purchased. thank_you_page_enabled must be set to true before this will be shown.<\/p>\n<p>\n\t<strong>custom_login_urls_enabled<\/strong> (bool, default value: false) \u2013\u00a0If set to true, you can modify the login redirection by using the custom_login_urls_default and\/or the custom_login_urls to control where a member is taken to after logging in.<\/p>\n<p>\n\t<strong>custom_login_urls_default<\/strong> (string) \u2013\u00a0The URL the member will be redirected to by deafult when logging in if they have purchased this Membership. This overrides the global Login Redirect URL set in MemberPress -> Options.<\/p>\n<p>\n\t<strong>custom_login_urls<\/strong> (array, default value: []) \u2013\u00a0An array of standard objects. Each object should have \\$obj->url and \\$obj->count. url is the URL the user should be redirected to when logging in, and count is the number of times they've logged in. So for example, if you wanted to take your user to a specific landing page on their 4th login attempt, you would set the url to the landing page, and the count to 4.<\/p>\n<p>\n\t<strong>expire_type<\/strong> (string, default value: none) \u2013\u00a0If the Membership is a one-time payment (not auto-recurring), then you can set if\/when it should expire. A value of none means it will be good for a lifetime. A value of delay means it expires at some delayed point in the future (example: 6 months). And a value of fixed means it will expire on a fixed date in the future (example December 31st 2019). Note: this does not work on recurring Memberships.<\/p>\n<p>\n\t<strong>expire_after<\/strong> (integer, default value: 1) \u2013\u00a0If the expire_type is set to \u201cdelay\u201d, use this to determine how many expire_unit's before the Membership expires. This should be a number (example \u201c6\u201d, for 6 days\/months\/weeks\/years).<\/p>\n<p>\n\t<strong>expire_unit<\/strong> (string, default value: days) \u2013\u00a0If the expire_type is set to \u201cdelay\u201d, use this to set the unit for the expire_after value. For example, if expire_after was set to \u201c6\u201d and this was set to \u201cmonths\u201d, then the Membership would expire 6 months after the date the Member registered.<\/p>\n<p>\n\t<strong>expire_fixed<\/strong> (string) \u2013\u00a0If the expire_type is set to \u201cfixed\u201d, then set this to the string of the date on which this Membership should expire. You can use any date format which PHP's strtotime() function can understand.<\/p>\n<p>\n\t<strong>tax_exempt<\/strong> (bool, default value: false) \u2013\u00a0Should this Membership be exempt from taxes or not.<\/p>\n<p>\n\t<strong>allow_renewal<\/strong> (bool, default value: false) \u2013\u00a0Allow Members to renew one-time payments before they have expired. Note: this only works on one-time payment Memberships which have a \u201cdelay\u201d expire_type value.<\/p>\n<p>\n\t<strong>access_url<\/strong> (string) \u2013\u00a0Use this to add a URL which should be used as the page the member can access the content for this Membership subscription.<\/p>\n<p>\n\t<strong>simultaneous_subscriptions<\/strong> (bool, default value: false) \u2013\u00a0Allow Members to have multiple active Subscriptions to this Product simultaneously. Note: Do not use this if allow_renewal is set to true.<\/p>\n<p>\n\t<strong>use_custom_template<\/strong> (bool, default value: false) \u2013\u00a0Whether or not to use a Custom Page Template for this Membership page.<\/p>\n<p>\n\t<strong>custom_template<\/strong> (string) \u2013\u00a0The relative path to your template file.<\/p>\n<p>\n\t<strong>customize_payment_methods<\/strong> (bool, default value: false) \u2013\u00a0Allow Payment Methods to be disabled on this Membership. A disabled payment method cannot be used by a Member at checkout.<\/p>\n<p>\n\t<strong>custom_payment_methods<\/strong> (array, default value: []) \u2013\u00a0If customize_payment_methods is true, then this must be an array of the valid payment method ID's for this Membership. Note: If filtering valid payment methods, this MUST have at least one gateway ID.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/memberships\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d title=\"3 day free trial\" \\\n       -d price=\"25.00\" \\\n       -d period=1 \\\n       -d period_type=months \\\n       -d signup_button_text=\"Sign Up\" \\\n       -d limit_cycles_num=2 \\\n       -d limit_cycles_action=expire \\\n       -d trial=1 \\\n       -d trial_days=3 \\\n       -d trial_amount=\"0.00\" \\\n       -d pricing_title=\"3 day free trial\" \\\n       -d pricing_display=auto \\\n       -d pricing_button_txt=\"Sign Up\" \\\n       -d register_price_action=default \\\n       -d expire_type=none \\\n       -d expire_after=1 \\\n       -d expire_unit=days \\\n       -d expire_fixed=\"2019-04-10\" \\\n       -d custom_template=\"template-sitemap.php\"\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 274,\n  \"title\": \"3 day free trial\",\n  \"content\": \"\",\n  \"excerpt\": \"\",\n  \"date\": \"2019-04-10 12:05:01\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-04-10 18:05:01\",\n  \"modified\": \"2019-04-10 12:05:01\",\n  \"modified_gmt\": \"2019-04-10 18:05:01\",\n  \"group\": \"0\",\n  \"price\": \"25.00\",\n  \"period\": \"1\",\n  \"period_type\": \"months\",\n  \"signup_button_text\": \"Sign Up\",\n  \"limit_cycles\": false,\n  \"limit_cycles_num\": \"2\",\n  \"limit_cycles_action\": \"expire\",\n  \"trial\": \"1\",\n  \"trial_days\": \"3\",\n  \"trial_amount\": \"0.00\",\n  \"trial_once\": \"1\",\n  \"group_order\": \"0\",\n  \"is_highlighted\": false,\n  \"plan_code\": \"\",\n  \"pricing_title\": \"3 day free trial\",\n  \"pricing_show_price\": true,\n  \"pricing_display\": \"auto\",\n  \"custom_price\": \"\",\n  \"pricing_heading_txt\": \"\",\n  \"pricing_footer_txt\": \"\",\n  \"pricing_button_txt\": \"Sign Up\",\n  \"pricing_button_position\": \"footer\",\n  \"pricing_benefits\": [\n    \"\"\n  ],\n  \"register_price_action\": \"default\",\n  \"register_price\": \"\",\n  \"thank_you_page_enabled\": false,\n  \"thank_you_page_type\": \"message\",\n  \"thank_you_message\": \"\",\n  \"thank_you_page_id\": \"0\",\n  \"custom_login_urls_enabled\": false,\n  \"custom_login_urls_default\": \"\",\n  \"custom_login_urls\": [],\n  \"expire_type\": \"none\",\n  \"expire_after\": \"1\",\n  \"expire_unit\": \"days\",\n  \"expire_fixed\": \"2019-04-10\",\n  \"tax_exempt\": false,\n  \"allow_renewal\": false,\n  \"access_url\": \"\",\n  \"disable_address_fields\": false,\n  \"simultaneous_subscriptions\": false,\n  \"use_custom_template\": false,\n  \"custom_template\": \"template-sitemap.php\",\n  \"customize_payment_methods\": false,\n  \"custom_payment_methods\": [],\n  \"customize_profile_fields\": false,\n  \"custom_profile_fields\": [],\n  \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n}\n<\/pre>\n<h2 id=\"update-membership\">Update Membership<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Update a Membership with the given id and field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>title<\/strong>\u00a0(Require) (string) \u2013\u00a0The title of the Membership.<\/p>\n<p>\n\t<strong>price<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0The base price for the Membership.<\/p>\n<p>\n\t<strong>period<\/strong>\u00a0(integer, default value: 1) \u2013\u00a0The Period for the Membership billing cycles. For one-time payments leave this set to 1. If you wanted to bill the customer once a quarter, you would set this to 3 and the period_type to months. There are some limitations depending on the period_type.<\/p>\n<p>\n\t<strong>period_type<\/strong>\u00a0(string, default value: lifetime) \u2013\u00a0The billing period type. For non-recurring payments this should always be set to \u201clifetime\u201d. Other possible values are \u201cweeks\u201d, \u201cmonths\u201d and \u201cyears\u201d. There are some limitations depending on the period.<\/p>\n<p>\n\t<strong>signup_button_text<\/strong>\u00a0(string, default value: Sign Up) \u2013\u00a0The text shown on the submit button shown on this Membership's registration form.<\/p>\n<p>\n\t<strong>limit_cycles<\/strong>\u00a0(bool, default value: false) \u2013\u00a0Whether or not to limit the billing cycles for recurring membership payments. If set to true, MemberPress will cancel the recurring payments after the limit_cycles_num amount has been reached.<\/p>\n<p>\n\t<strong>limit_cycles_num<\/strong>\u00a0(integer, default value: 2) \u2013\u00a0If limit_cycles is true, then this number is used to determine how many recurring billings should happen before MemberPress automatically cancels the Subscription. If set to 1, the Subscription will be cancelled immediately after the first payment has come through, however the member will maintain access until their Transaction has expired.<\/p>\n<p>\n\t<strong>limit_cycles_action<\/strong>\u00a0(string, default value: expire) \u2013\u00a0If limit_cycles is enabled, then this will determine the Member's access after their Subscription has reached its limit_cycles_num limit and has been cancelled. If set to \u201cexpire\u201d then the Member will lose access after their last Transaction expires. If set to \u201clifetime\u201d, the Member will be granted lifetime access.<\/p>\n<p>\n\t t<br \/>\n\t<strong>r<\/strong>ial\u00a0(bool, default value: false) \u2013\u00a0Whether or not there will be a trial period on this Membership. Trial periods ONLY work on auto-recurring payments.<\/p>\n<p>\n\t<strong>trial_days<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0How many days the trial period should last before the regular billing cycles begin.<\/p>\n<p>\n\t<strong>trial_amount<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0If a trial period is enabled, this specifies how much the user will pay for the trial period.<\/p>\n<p>\n\t<strong>group<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0The ID of a MemberPress Group which this Membership should belong to. Defaults to no Group.<\/p>\n<p>\n\t<strong>group_order<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0If the Membership belongs to a Group, this will determine its placement on the Group page and is also used to determine the Upgrade\/Downgrade paths.<\/p>\n<p>\n\t<strong>is_highlighted<\/strong>\u00a0(bool, default value: false) \u2013\u00a0Whether or not to highlight this Membership in the Group. This adds extra CSS classes to make the Group pricing\/features box stand out from the others.<\/p>\n<p>\n\t<strong>pricing_title<\/strong>\u00a0(string) \u2013\u00a0The title that shows at the top of the pricing box on a Group page.<\/p>\n<p>\n\t<strong>pricing_display<\/strong>\u00a0(string, default value: auto) \u2013\u00a0How to display the price on this Membership's pricing box on the Group page.<\/p>\n<p>\n\t<strong>pricing_heading_txt<\/strong>\u00a0(string) \u2013\u00a0A heading to show on this pricing box. Shows below price, but above features\/benefits list.<\/p>\n<p>\n\t<strong>pricing_footer_txt<\/strong>\u00a0(string) \u2013\u00a0Show a message at the foot of the pricing box. Shows right above the purchase button.<\/p>\n<p>\n\t<strong>pricing_button_txt<\/strong>\u00a0(string) \u2013\u00a0The text of the purchase button.<\/p>\n<p>\n\t<strong>pricing_benefits<\/strong>\u00a0(array, default value: []) \u2013\u00a0An array of strings. Each string will show as a line-item on the pricing box on the Group page.<\/p>\n<p>\n\t<strong>register_price<\/strong>\u00a0(string) \u2013\u00a0A custom pricing string for this Membership. This is only used if register_price_action is set to \u201ccustom\u201d.<\/p>\n<p>\n\t<strong>register_price_action<\/strong>\u00a0(string, default value: default) \u2013\u00a0Whether to use the default pricing string generated by MemberPress, a custom pricing string, or to hide the pricing string completely.<\/p>\n<p>\n\t<strong>thank_you_page_enabled<\/strong>\u00a0(bool, default value: false) \u2013\u00a0If set to true, the content on the Thank You page will be overridden with the message contained in thank_you_message value.<\/p>\n<p>\n\t<strong>thank_you_message<\/strong>\u00a0(string) \u2013\u00a0A string containing the Custom Thank You Page Message which is shown on the Thank You page anytime this Membership is purchased. thank_you_page_enabled must be set to true before this will be shown.<\/p>\n<p>\n\t<strong>custom_login_urls_enabled<\/strong>\u00a0(bool, default value: false) \u2013\u00a0If set to true, you can modify the login redirection by using the custom_login_urls_default and\/or the custom_login_urls to control where a member is taken to after logging in.<\/p>\n<p>\n\t<strong>custom_login_urls_default<\/strong>\u00a0(string) \u2013\u00a0The URL the member will be redirected to by deafult when logging in if they have purchased this Membership. This overrides the global Login Redirect URL set in MemberPress -> Options.<\/p>\n<p>\n\t<strong>custom_login_urls<\/strong>\u00a0(array, default value: []) \u2013\u00a0An array of standard objects. Each object should have \\$obj->url and \\$obj->count. url is the URL the user should be redirected to when logging in, and count is the number of times they've logged in. So for example, if you wanted to take your user to a specific landing page on their 4th login attempt, you would set the url to the landing page, and the count to 4.<\/p>\n<p>\n\t<strong>expire_type<\/strong>\u00a0(string, default value: none) \u2013\u00a0If the Membership is a one-time payment (not auto-recurring), then you can set if\/when it should expire. A value of none means it will be good for a lifetime. A value of delay means it expires at some delayed point in the future (example: 6 months). And a value of fixed means it will expire on a fixed date in the future (example December 31st 2019). Note: this does not work on recurring Memberships.<\/p>\n<p>\n\t<strong>expire_after<\/strong>\u00a0(integer, default value: 1) \u2013\u00a0If the expire_type is set to \u201cdelay\u201d, use this to determine how many expire_unit's before the Membership expires. This should be a number (example \u201c6\u201d, for 6 days\/months\/weeks\/years).<\/p>\n<p>\n\t<strong>expire_unit<\/strong>\u00a0(string, default value: days) \u2013\u00a0If the expire_type is set to \u201cdelay\u201d, use this to set the unit for the expire_after value. For example, if expire_after was set to \u201c6\u201d and this was set to \u201cmonths\u201d, then the Membership would expire 6 months after the date the Member registered.<\/p>\n<p>\n\t<strong>expire_fixed<\/strong>\u00a0(string) \u2013\u00a0If the expire_type is set to \u201cfixed\u201d, then set this to the string of the date on which this Membership should expire. You can use any date format which PHP's strtotime() function can understand.<\/p>\n<p>\n\t<strong>tax_exempt<\/strong>\u00a0(bool, default value: false) \u2013\u00a0Should this Membership be exempt from taxes or not.<\/p>\n<p>\n\t<strong>allow_renewal<\/strong>\u00a0(bool, default value: false) \u2013\u00a0Allow Members to renew one-time payments before they have expired. Note: this only works on one-time payment Memberships which have a \u201cdelay\u201d expire_type value.<\/p>\n<p>\n\t<strong>access_url<\/strong>\u00a0(string) \u2013\u00a0Use this to add a URL which should be used as the page the member can access the content for this Membership subscription.<\/p>\n<p>\n\t<strong>simultaneous_subscriptions<\/strong>\u00a0(bool, default value: false) \u2013\u00a0Allow Members to have multiple active Subscriptions to this Product simultaneously. Note: Do not use this if allow_renewal is set to true.<\/p>\n<p>\n\t<strong>use_custom_template<\/strong>\u00a0(bool, default value: false) \u2013\u00a0Whether or not to use a Custom Page Template for this Membership page.<\/p>\n<p>\n\t<strong>custom_template<\/strong>\u00a0(string) \u2013\u00a0The relative path to your template file.<\/p>\n<p>\n\t<strong>customize_payment_methods<\/strong>\u00a0(bool, default value: false) \u2013\u00a0Allow Payment Methods to be disabled on this Membership. A disabled payment method cannot be used by a Member at checkout.<\/p>\n<p>\n\t<strong>custom_payment_methods<\/strong>\u00a0(array, default value: []) \u2013\u00a0If customize_payment_methods is true, then this must be an array of the valid payment method ID's for this Membership. Note: If filtering valid payment methods, this MUST have at least one gateway ID.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/memberships\/274\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d title=\"3 day free trial\" \\\n       -d price=\"25.00\" \\\n       -d period=1 \\\n       -d period_type=months \\\n       -d signup_button_text=\"Sign Up\" \\\n       -d limit_cycles_num=2 \\\n       -d limit_cycles_action=expire \\\n       -d trial=1 \\\n       -d trial_days=3 \\\n       -d trial_amount=\"0.00\" \\\n       -d pricing_title=\"3 day free trial\" \\\n       -d pricing_display=auto \\\n       -d pricing_button_txt=\"Sign Up\" \\\n       -d register_price_action=default \\\n       -d expire_type=none \\\n       -d expire_after=1 \\\n       -d expire_unit=days \\\n       -d expire_fixed=\"2019-04-10\" \\\n       -d custom_template=\"template-sitemap.php\"\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 274,\n  \"title\": \"3 day free trial\",\n  \"content\": \"\",\n  \"excerpt\": \"\",\n  \"date\": \"2019-04-10 12:05:01\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-04-10 18:05:01\",\n  \"modified\": \"2019-04-10 12:05:01\",\n  \"modified_gmt\": \"2019-04-10 18:05:01\",\n  \"group\": \"0\",\n  \"price\": \"25.00\",\n  \"period\": \"1\",\n  \"period_type\": \"months\",\n  \"signup_button_text\": \"Sign Up\",\n  \"limit_cycles\": false,\n  \"limit_cycles_num\": \"2\",\n  \"limit_cycles_action\": \"expire\",\n  \"trial\": \"1\",\n  \"trial_days\": \"3\",\n  \"trial_amount\": \"0.00\",\n  \"trial_once\": \"1\",\n  \"group_order\": \"0\",\n  \"is_highlighted\": false,\n  \"plan_code\": \"\",\n  \"pricing_title\": \"3 day free trial\",\n  \"pricing_show_price\": true,\n  \"pricing_display\": \"auto\",\n  \"custom_price\": \"\",\n  \"pricing_heading_txt\": \"\",\n  \"pricing_footer_txt\": \"\",\n  \"pricing_button_txt\": \"Sign Up\",\n  \"pricing_button_position\": \"footer\",\n  \"pricing_benefits\": [\n    \"\"\n  ],\n  \"register_price_action\": \"default\",\n  \"register_price\": \"\",\n  \"thank_you_page_enabled\": false,\n  \"thank_you_page_type\": \"message\",\n  \"thank_you_message\": \"\",\n  \"thank_you_page_id\": \"0\",\n  \"custom_login_urls_enabled\": false,\n  \"custom_login_urls_default\": \"\",\n  \"custom_login_urls\": [],\n  \"expire_type\": \"none\",\n  \"expire_after\": \"1\",\n  \"expire_unit\": \"days\",\n  \"expire_fixed\": \"2019-04-10\",\n  \"tax_exempt\": false,\n  \"allow_renewal\": false,\n  \"access_url\": \"\",\n  \"disable_address_fields\": false,\n  \"simultaneous_subscriptions\": false,\n  \"use_custom_template\": false,\n  \"custom_template\": \"template-sitemap.php\",\n  \"customize_payment_methods\": false,\n  \"custom_payment_methods\": [],\n  \"customize_profile_fields\": false,\n  \"custom_profile_fields\": [],\n  \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n}\n<\/pre>\n<h2 id=\"delete-membership\">Delete Membership<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Delete a Membership with the given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X DELETE \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/memberships\/274\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 274,\n  \"title\": \"3 day free trial\",\n  \"content\": \"\",\n  \"excerpt\": \"\",\n  \"date\": \"2019-04-10 12:05:01\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-04-10 18:05:01\",\n  \"modified\": \"2019-04-10 12:05:01\",\n  \"modified_gmt\": \"2019-04-10 18:05:01\",\n  \"group\": \"0\",\n  \"price\": \"25.00\",\n  \"period\": \"1\",\n  \"period_type\": \"months\",\n  \"signup_button_text\": \"Sign Up\",\n  \"limit_cycles\": false,\n  \"limit_cycles_num\": \"2\",\n  \"limit_cycles_action\": \"expire\",\n  \"trial\": \"1\",\n  \"trial_days\": \"3\",\n  \"trial_amount\": \"0.00\",\n  \"trial_once\": \"1\",\n  \"group_order\": \"0\",\n  \"is_highlighted\": false,\n  \"plan_code\": \"\",\n  \"pricing_title\": \"3 day free trial\",\n  \"pricing_show_price\": true,\n  \"pricing_display\": \"auto\",\n  \"custom_price\": \"\",\n  \"pricing_heading_txt\": \"\",\n  \"pricing_footer_txt\": \"\",\n  \"pricing_button_txt\": \"Sign Up\",\n  \"pricing_button_position\": \"footer\",\n  \"pricing_benefits\": [\n    \"\"\n  ],\n  \"register_price_action\": \"default\",\n  \"register_price\": \"\",\n  \"thank_you_page_enabled\": false,\n  \"thank_you_page_type\": \"message\",\n  \"thank_you_message\": \"\",\n  \"thank_you_page_id\": \"0\",\n  \"custom_login_urls_enabled\": false,\n  \"custom_login_urls_default\": \"\",\n  \"custom_login_urls\": [],\n  \"expire_type\": \"none\",\n  \"expire_after\": \"1\",\n  \"expire_unit\": \"days\",\n  \"expire_fixed\": \"2019-04-10\",\n  \"tax_exempt\": false,\n  \"allow_renewal\": false,\n  \"access_url\": \"\",\n  \"disable_address_fields\": false,\n  \"simultaneous_subscriptions\": false,\n  \"use_custom_template\": false,\n  \"custom_template\": \"template-sitemap.php\",\n  \"customize_payment_methods\": false,\n  \"custom_payment_methods\": [],\n  \"customize_profile_fields\": false,\n  \"custom_profile_fields\": [],\n  \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n}\n<\/pre>\n<h2 id=\"get-coupons\">Get Coupons<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get all Coupons based on the search arguments provided.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t<strong>page<\/strong>\u00a0(integer, default value: 1) \u2013\u00a0Current page of the collection.\u00a0<\/p>\n<p>\n\t<strong>per_page<\/strong>\u00a0(integer, default value: 10) \u2013\u00a0Maximum number of items to be returned in result set.<\/p>\n<p>\n\t<strong>search\u00a0<\/strong>(string) \u2013\u00a0Limit results to those matching a string.<\/p>\n<p>\n\t<strong>code<\/strong>\u00a0(integer) \u2013\u00a0Grab the coupon with the given code.<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/coupons?page=2&per_page=10\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>[\n  {\n    \"id\": 275,\n    \"coupon_code\": \"B2XJTM2YQB\",\n    \"date\": \"2019-04-10 12:05:53\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n     \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-04-10 18:05:53\",\n    \"modified\": \"2019-04-10 12:08:13\",\n    \"modified_gmt\": \"2019-04-10 18:08:13\",\n    \"valid_memberships\": [\n      {\n        \"id\": 274,\n        \"title\": \"3 day free trial\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-04-10 12:05:01\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-04-10 18:05:01\",\n        \"modified\": \"2019-04-10 12:05:01\",\n        \"modified_gmt\": \"2019-04-10 18:05:01\",\n        \"group\": \"0\",\n        \"price\": \"25.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"3\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"3 day free trial\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-10\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"should_expire\": false,\n    \"expires_on\": \"0\",\n    \"usage_count\": \"0\",\n    \"usage_amount\": \"0\",\n    \"discount_type\": \"percent\",\n    \"discount_amount\": \"15\",\n    \"discount_mode\": \"standard\",\n    \"trial_days\": \"3\",\n    \"trial_amount\": \"0.00\"\n  },\n  {\n    \"id\": 269,\n    \"coupon_code\": \"EXV6U3844B\",\n    \"date\": \"2019-04-03 11:59:20\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-04-03 17:59:20\",\n    \"modified\": \"2019-04-04 10:54:39\",\n    \"modified_gmt\": \"2019-04-04 16:54:39\",\n    \"valid_memberships\": [\n      {\n        \"id\": 267,\n        \"title\": \"coupon testing\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-04-03 11:18:41\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-04-03 17:18:41\",\n        \"modified\": \"2019-04-04 10:58:44\",\n        \"modified_gmt\": \"2019-04-04 16:58:44\",\n        \"group\": \"0\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"coupon testing\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-04\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"should_expire\": false,\n    \"expires_on\": \"0\",\n    \"usage_count\": \"2\",\n    \"usage_amount\": \"0\",\n    \"discount_type\": \"percent\",\n    \"discount_amount\": \"0\",\n    \"discount_mode\": \"trial-override\",\n    \"trial_days\": \"90\",\n    \"trial_amount\": \"0.00\"\n  },\n  {\n    \"id\": 268,\n    \"coupon_code\": \"3ITYMDZOI5\",\n    \"date\": \"2019-04-03 11:19:30\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n     \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-04-03 17:19:30\",\n    \"modified\": \"2019-04-03 11:53:48\",\n    \"modified_gmt\": \"2019-04-03 17:53:48\",\n    \"valid_memberships\": [\n      {\n        \"id\": 267,\n        \"title\": \"coupon testing\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-04-03 11:18:41\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-04-03 17:18:41\",\n        \"modified\": \"2019-04-04 10:58:44\",\n        \"modified_gmt\": \"2019-04-04 16:58:44\",\n        \"group\": \"0\",\n        \"price\": \"9.99\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"90\",\n        \"trial_amount\": \"29.94\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"coupon testing\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-04\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"should_expire\": false,\n    \"expires_on\": \"0\",\n    \"usage_count\": \"2\",\n    \"usage_amount\": \"0\",\n    \"discount_type\": \"percent\",\n    \"discount_amount\": \"100\",\n    \"discount_mode\": \"first-payment\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\"\n  },\n  {\n    \"id\": 253,\n    \"coupon_code\": \"WVJKX4WU86\",\n    \"date\": \"2019-03-13 16:25:39\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-03-13 22:25:39\",\n    \"modified\": \"2019-03-13 16:26:48\",\n    \"modified_gmt\": \"2019-03-13 22:26:48\",\n    \"valid_memberships\": [\n      {\n        \"id\": 251,\n        \"title\": \"25 2\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-03-13 16:20:43\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-03-13 22:20:43\",\n        \"modified\": \"2019-03-20 13:02:42\",\n        \"modified_gmt\": \"2019-03-20 19:02:42\",\n        \"group\": \"252\",\n        \"price\": \"10000.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"1\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"25 2\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-03-20\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"should_expire\": false,\n    \"expires_on\": \"0\",\n    \"usage_count\": \"0\",\n    \"usage_amount\": \"0\",\n    \"discount_type\": \"dollar\",\n    \"discount_amount\": \"12.6\",\n    \"discount_mode\": \"standard\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\"\n  },\n  {\n    \"id\": 233,\n    \"coupon_code\": \"FRX8L9X5UO\",\n    \"date\": \"2019-02-20 14:36:54\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-02-20 21:36:54\",\n    \"modified\": \"2019-02-20 14:38:02\",\n    \"modified_gmt\": \"2019-02-20 21:38:02\",\n    \"valid_memberships\": [\n      {\n        \"id\": 139,\n        \"title\": \"Fixed expire test\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-11-16 09:58:51\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2018-11-16 16:58:51\",\n        \"modified\": \"2019-02-20 14:41:58\",\n        \"modified_gmt\": \"2019-02-20 21:41:58\",\n        \"group\": \"0\",\n        \"price\": \"75.00\",\n        \"period\": \"1\",\n        \"period_type\": \"years\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Fixed expire test\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"fixed\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-03-31\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": \"1\",\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"should_expire\": false,\n    \"expires_on\": \"0\",\n    \"usage_count\": \"1\",\n    \"usage_amount\": \"0\",\n    \"discount_type\": \"percent\",\n    \"discount_amount\": \"100\",\n    \"discount_mode\": \"standard\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\"\n  },\n  {\n    \"id\": 197,\n    \"coupon_code\": \"M5TGWIKIYU\",\n    \"date\": \"2019-01-10 15:38:04\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-01-10 22:38:04\",\n    \"modified\": \"2019-02-05 10:18:06\",\n    \"modified_gmt\": \"2019-02-05 17:18:06\",\n    \"valid_memberships\": [\n      {\n        \"id\": 196,\n        \"title\": \"coupon test\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2019-01-10 15:36:20\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2019-01-10 22:36:20\",\n        \"modified\": \"2019-02-19 12:15:59\",\n        \"modified_gmt\": \"2019-02-19 19:15:59\",\n        \"group\": \"0\",\n        \"price\": \"100.00\",\n        \"period\": \"1\",\n        \"period_type\": \"years\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"14\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"coupon test\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-02-19\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"should_expire\": false,\n    \"expires_on\": \"0\",\n    \"usage_count\": \"3\",\n    \"usage_amount\": \"0\",\n    \"discount_type\": \"percent\",\n    \"discount_amount\": \"20\",\n    \"discount_mode\": \"trial-override\",\n    \"trial_days\": \"2\",\n    \"trial_amount\": \"0.00\"\n  },\n  {\n    \"id\": 195,\n    \"coupon_code\": \"CJM43W9Y3K\",\n    \"date\": \"2019-01-10 13:01:37\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2019-01-10 20:01:37\",\n    \"modified\": \"2019-02-05 14:57:22\",\n    \"modified_gmt\": \"2019-02-05 21:57:22\",\n    \"valid_memberships\": [\n      {\n        \"id\": 16,\n        \"title\": \"Platinum Membership\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-08-30 16:10:44\",\n        \"status\": \"publish\",\n        \"author\": \"2\",\n        \"date_gmt\": \"2018-08-30 16:10:44\",\n        \"modified\": \"2018-11-29 10:04:26\",\n        \"modified_gmt\": \"2018-11-29 17:04:26\",\n        \"group\": \"17\",\n        \"price\": \"2600.00\",\n        \"period\": \"1\",\n        \"period_type\": \"lifetime\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"3\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Platinum Membership\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2018-11-29\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": \"1\",\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      },\n      {\n        \"id\": 15,\n        \"title\": \"Gold Membership\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-08-30 16:10:22\",\n        \"status\": \"publish\",\n        \"author\": \"2\",\n        \"date_gmt\": \"2018-08-30 16:10:22\",\n        \"modified\": \"2019-04-01 15:03:22\",\n        \"modified_gmt\": \"2019-04-01 21:03:22\",\n        \"group\": \"17\",\n        \"price\": \"100.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"2\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Gold Membership\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"custom\",\n        \"custom_price\": \"Pricing\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"This is a test\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-04-01\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": \"1\",\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": \"1\",\n        \"custom_payment_methods\": [\n          \"peum51-1tc\"\n        ],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      },\n      {\n        \"id\": 14,\n        \"title\": \"Silver Membership\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-08-30 16:09:57\",\n        \"status\": \"publish\",\n        \"author\": \"2\",\n        \"date_gmt\": \"2018-08-30 16:09:57\",\n        \"modified\": \"2018-08-30 16:09:57\",\n        \"modified_gmt\": \"2018-08-30 16:09:57\",\n        \"group\": \"17\",\n        \"price\": \"25.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"1\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Silver Membership\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2018-08-30\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      },\n      {\n        \"id\": 13,\n        \"title\": \"Bronze Membership\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-08-30 16:08:50\",\n        \"status\": \"publish\",\n        \"author\": \"2\",\n        \"date_gmt\": \"2018-08-30 16:08:50\",\n        \"modified\": \"2019-01-14 13:49:13\",\n        \"modified_gmt\": \"2019-01-14 20:49:13\",\n        \"group\": \"17\",\n        \"price\": \"0.00\",\n        \"period\": \"1\",\n        \"period_type\": \"lifetime\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": false,\n        \"limit_cycles_num\": \"2\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": false,\n        \"trial_days\": \"0\",\n        \"trial_amount\": \"0.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"0\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Bronze Membership\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2019-01-14\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"should_expire\": false,\n    \"expires_on\": \"0\",\n    \"usage_count\": \"1\",\n    \"usage_amount\": \"0\",\n    \"discount_type\": \"percent\",\n    \"discount_amount\": \"30\",\n    \"discount_mode\": \"first-payment\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\"\n  },\n  {\n    \"id\": 157,\n    \"coupon_code\": \"QPL9MTM8CI\",\n    \"date\": \"2018-12-04 10:45:16\",\n    \"status\": \"publish\",\n    \"author\": {\n      \"id\": 5,\n     \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n    },\n    \"date_gmt\": \"2018-12-04 17:45:16\",\n    \"modified\": \"2019-03-04 11:49:36\",\n    \"modified_gmt\": \"2019-03-04 18:49:36\",\n    \"valid_memberships\": [\n      {\n        \"id\": 151,\n        \"title\": \"Update plan test\",\n        \"content\": \"\",\n        \"excerpt\": \"\",\n        \"date\": \"2018-11-29 12:00:53\",\n        \"status\": \"publish\",\n        \"author\": \"5\",\n        \"date_gmt\": \"2018-11-29 19:00:53\",\n        \"modified\": \"2018-11-29 12:00:53\",\n        \"modified_gmt\": \"2018-11-29 19:00:53\",\n        \"group\": \"0\",\n        \"price\": \"10.00\",\n        \"period\": \"1\",\n        \"period_type\": \"months\",\n        \"signup_button_text\": \"Sign Up\",\n        \"limit_cycles\": \"1\",\n        \"limit_cycles_num\": \"1\",\n        \"limit_cycles_action\": \"expire\",\n        \"trial\": \"1\",\n        \"trial_days\": \"30\",\n        \"trial_amount\": \"10.00\",\n        \"trial_once\": \"1\",\n        \"group_order\": \"5\",\n        \"is_highlighted\": false,\n        \"plan_code\": \"\",\n        \"pricing_title\": \"Update plan test\",\n        \"pricing_show_price\": true,\n        \"pricing_display\": \"auto\",\n        \"custom_price\": \"\",\n        \"pricing_heading_txt\": \"\",\n        \"pricing_footer_txt\": \"\",\n        \"pricing_button_txt\": \"Sign Up\",\n        \"pricing_button_position\": \"footer\",\n        \"pricing_benefits\": [\n          \"\"\n        ],\n        \"register_price_action\": \"default\",\n        \"register_price\": \"\",\n        \"thank_you_page_enabled\": false,\n        \"thank_you_page_type\": \"message\",\n        \"thank_you_message\": \"\",\n        \"thank_you_page_id\": \"0\",\n        \"custom_login_urls_enabled\": false,\n        \"custom_login_urls_default\": \"\",\n        \"custom_login_urls\": [],\n        \"expire_type\": \"none\",\n        \"expire_after\": \"1\",\n        \"expire_unit\": \"days\",\n        \"expire_fixed\": \"2018-11-29\",\n        \"tax_exempt\": false,\n        \"allow_renewal\": false,\n        \"access_url\": \"\",\n        \"disable_address_fields\": false,\n        \"simultaneous_subscriptions\": false,\n        \"use_custom_template\": false,\n        \"custom_template\": \"template-sitemap.php\",\n        \"customize_payment_methods\": false,\n        \"custom_payment_methods\": [],\n        \"customize_profile_fields\": false,\n        \"custom_profile_fields\": [],\n        \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n      }\n    ],\n    \"should_expire\": false,\n    \"expires_on\": \"0\",\n    \"usage_count\": \"2\",\n    \"usage_amount\": \"0\",\n    \"discount_type\": \"percent\",\n    \"discount_amount\": \"100\",\n    \"discount_mode\": \"first-payment\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\"\n  }\n]\n<\/pre>\n<h2 id=\"get-coupon\">Get Coupon<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get one Coupon with a given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/coupons\/275\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 275,\n  \"coupon_code\": \"B2XJTM2YQB\",\n  \"date\": \"2019-04-10 12:05:53\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-04-10 18:05:53\",\n  \"modified\": \"2019-04-10 12:08:13\",\n  \"modified_gmt\": \"2019-04-10 18:08:13\",\n  \"valid_memberships\": [\n    {\n      \"id\": 274,\n      \"title\": \"3 day free trial\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-04-10 12:05:01\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-10 18:05:01\",\n      \"modified\": \"2019-04-10 12:05:01\",\n      \"modified_gmt\": \"2019-04-10 18:05:01\",\n      \"group\": \"0\",\n      \"price\": \"25.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": \"1\",\n      \"trial_days\": \"3\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"3 day free trial\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-10\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    }\n  ],\n  \"should_expire\": false,\n  \"expires_on\": \"0\",\n  \"usage_count\": \"0\",\n  \"usage_amount\": \"0\",\n  \"discount_type\": \"percent\",\n  \"discount_amount\": \"15\",\n  \"discount_mode\": \"standard\",\n  \"trial_days\": \"3\",\n  \"trial_amount\": \"0.00\"\n}\n<\/pre>\n<h2 id=\"create-coupon\">Create Coupon<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Create a Coupon with the given field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>coupon_code<\/strong> (string, default value: <auto-generated code>) \u2013\u00a0This is the coupon code to be associated with the coupon. This should be a unique code with no spaces or special characters other than \u2018-\u2018. If spaces are present the value will be accepted but MemberPress will replace them with dashes. Also, if this value is left blank, MemberPress will automatically generate a unique code for this coupon.<\/p>\n<p>\n\t<strong>should_expire<\/strong> (bool, default value: false) \u2013\u00a0Set this to true if you want the coupon to expire sometime in the future.<\/p>\n<p>\n\t<strong>expires_on<\/strong> (Require if \u2018should_expire' is true) (timestamp, default value: null) \u2013\u00a0Set this to the unix timestamp of when you'd like the coupon to expire.<\/p>\n<p>\n\t<strong>usage_amount<\/strong> (integer, default value: 0) \u2013\u00a0Set this to a number greater than zero if you want to limit the number of times the coupon can be used.<\/p>\n<p>\n\t<strong>discount_type<\/strong> (enum, default value: percent) \u2013\u00a0This will alter the way MemberPress interprets the \u2018discount_amount' to either be a percentage or fixed amount.<\/p>\n<p>\n\t<strong>discount_amount<\/strong> (decimal, default value: 0.00) \u2013\u00a0The amount of the discount. Depending on what \u2018discount_type' is set to, this can either be a fixed amount or a percentage.<\/p>\n<p>\n\t<strong>valid_memberships<\/strong> (Required) (array, default value: []) \u2013\u00a0You can set an array of membership ids here that the coupon will apply to.<\/p>\n<p>\n\t<strong>discount_mode<\/strong> (string, default value: standard) \u2013\u00a0Set the discount type. Can be set to standard, trial-override, or first-payment. If set to standard, the discount will apply to all payments for the life of the subscription. If set to first-payment, the discount will apply only to the first payment in an automatically recurring subscription \u2014 this is accomplished by overriding the trial period on the membership. If set to trial-override, it will also override the trial period on recurring membership subscriptions.<\/p>\n<p>\n\t<strong>first_payment_discount_type <\/strong>(enum, default value: percent) \u2013\u00a0This value is ignored if the discount_mode is anything other than \u201cfirst-payment\u201d. This will alter the way MemberPress interprets the \u201cfirst_payment_discount_amount\u201d to either be a percentage or fixed amount. Only applies to recurring subscriptions.<\/p>\n<p>\n\t<strong>first_payment_discount_amount <\/strong>(decimal, default value: 0.00) \u2013\u00a0This value is ignored if the discount_mode is anything other than \u201cfirst-payment\u201d. The amount of the discount for the first payment of a recurring subscription. Depending on what \u2018discount_type' is set to, this can either be a fixed amount or a percentage.\u00a0<\/p>\n<p>\n\t<strong>trial_days<\/strong> (integer, default value: 0) \u2013\u00a0Set the number of trial days. Only used for recurring subscriptions and if discount_mode is set to trial-override.<\/p>\n<p>\n\t<strong>trial_amount<\/strong> (decimal, default value: 0.00) \u2013\u00a0Set the amount of the trial period. Only used for recurring subscriptions and if discount_mode is set to trial-override.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/coupons\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d coupon_code=\"B2XJTM2YQB\" \\\n       -d discount_type=percent \\\n       -d discount_amount=15 \\\n       -d discount_mode=standard \\\n       -d trial_days=3 \\\n       -d trial_amount=\"0.00\"\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 275,\n  \"coupon_code\": \"B2XJTM2YQB\",\n  \"date\": \"2019-04-10 12:05:53\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-04-10 18:05:53\",\n  \"modified\": \"2019-04-10 12:08:13\",\n  \"modified_gmt\": \"2019-04-10 18:08:13\",\n  \"valid_memberships\": [\n    {\n      \"id\": 274,\n      \"title\": \"3 day free trial\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-04-10 12:05:01\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-10 18:05:01\",\n      \"modified\": \"2019-04-10 12:05:01\",\n      \"modified_gmt\": \"2019-04-10 18:05:01\",\n      \"group\": \"0\",\n      \"price\": \"25.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": \"1\",\n      \"trial_days\": \"3\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"3 day free trial\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-10\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    }\n  ],\n  \"should_expire\": false,\n  \"expires_on\": \"0\",\n  \"usage_count\": \"0\",\n  \"usage_amount\": \"0\",\n  \"discount_type\": \"percent\",\n  \"discount_amount\": \"15\",\n  \"discount_mode\": \"standard\",\n  \"trial_days\": \"3\",\n  \"trial_amount\": \"0.00\"\n}\n<\/pre>\n<h2 id=\"update-coupon\">Update Coupon<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Update a Coupon with the given id and field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>coupon_code<\/strong>\u00a0(string, default value: <auto-generated code>) \u2013\u00a0This is the coupon code to be associated with the coupon. This should be a unique code with no spaces or special characters other than \u2018-\u2018. If spaces are present the value will be accepted but MemberPress will replace them with dashes. Also, if this value is left blank, MemberPress will automatically generate a unique code for this coupon.<\/p>\n<p>\n\t<strong>should_expire<\/strong>\u00a0(bool, default value: false) \u2013\u00a0Set this to true if you want the coupon to expire sometime in the future.<\/p>\n<p>\n\t<strong>expires_on<\/strong>\u00a0(Require if \u2018should_expire' is true) (timestamp, default value: null) \u2013\u00a0Set this to the unix timestamp of when you'd like the coupon to expire.<\/p>\n<p>\n\t<strong>usage_amount<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0Set this to a number greater than zero if you want to limit the number of times the coupon can be used.<\/p>\n<p>\n\t<strong>discount_type<\/strong>\u00a0(enum, default value: percent) \u2013\u00a0This will alter the way MemberPress interprets the \u2018discount_amount' to either be a percentage or fixed amount.<\/p>\n<p>\n\t<strong>discount_amount<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0The amount of the discount. Depending on what \u2018discount_type' is set to, this can either be a fixed amount or a percentage.<\/p>\n<p>\n\t<strong>valid_memberships<\/strong>\u00a0(Required) (array, default value: []) \u2013\u00a0You can set an array of membership ids here that the coupon will apply to.<\/p>\n<p>\n\t<strong>discount_mode<\/strong>\u00a0(string, default value: standard) \u2013\u00a0Set the discount type. Can be set to standard, trial-override, or first-payment. If set to standard, the discount will apply to all payments for the life of the subscription. If set to first-payment, the discount will apply only to the first payment in an automatically recurring subscription \u2014 this is accomplished by overriding the trial period on the membership. If set to trial-override, it will also override the trial period on recurring membership subscriptions.<\/p>\n<p>\n\t<strong>first_payment_discount_type<\/strong>\u00a0(enum, default value: percent) \u2013\u00a0This value is ignored if the discount_mode is anything other than \u201cfirst-payment\u201d. This will alter the way MemberPress interprets the \u201cfirst_payment_discount_amount\u201d to either be a percentage or fixed amount. Only applies to recurring subscriptions.<\/p>\n<p>\n\t<strong>first_payment_discount_amount<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0This value is ignored if the discount_mode is anything other than \u201cfirst-payment\u201d. The amount of the discount for the first payment of a recurring subscription. Depending on what \u2018discount_type' is set to, this can either be a fixed amount or a percentage.<\/p>\n<p>\n\t<strong>trial_days<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0Set the number of trial days. Only used for recurring subscriptions and if discount_mode is set to trial-override.<\/p>\n<p>\n\t<strong>trial_amount<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0Set the amount of the trial period. Only used for recurring subscriptions and if discount_mode is set to trial-override.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/coupons\/275\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d coupon_code=\"B2XJTM2YQB\" \\\n       -d discount_type=percent \\\n       -d discount_amount=15 \\\n       -d discount_mode=standard \\\n       -d trial_days=3 \\\n       -d trial_amount=\"0.00\"\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 275,\n  \"coupon_code\": \"B2XJTM2YQB\",\n  \"date\": \"2019-04-10 12:05:53\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-04-10 18:05:53\",\n  \"modified\": \"2019-04-10 12:08:13\",\n  \"modified_gmt\": \"2019-04-10 18:08:13\",\n  \"valid_memberships\": [\n    {\n      \"id\": 274,\n      \"title\": \"3 day free trial\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-04-10 12:05:01\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-10 18:05:01\",\n      \"modified\": \"2019-04-10 12:05:01\",\n      \"modified_gmt\": \"2019-04-10 18:05:01\",\n      \"group\": \"0\",\n      \"price\": \"25.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": \"1\",\n      \"trial_days\": \"3\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"3 day free trial\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-10\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    }\n  ],\n  \"should_expire\": false,\n  \"expires_on\": \"0\",\n  \"usage_count\": \"0\",\n  \"usage_amount\": \"0\",\n  \"discount_type\": \"percent\",\n  \"discount_amount\": \"15\",\n  \"discount_mode\": \"standard\",\n  \"trial_days\": \"3\",\n  \"trial_amount\": \"0.00\"\n}\n<\/pre>\n<h2 id=\"delete-coupon\">Delete Coupon<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Delete a Coupon with the given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X DELETE \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/coupons\/275\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"id\": 275,\n  \"coupon_code\": \"B2XJTM2YQB\",\n  \"date\": \"2019-04-10 12:05:53\",\n  \"status\": \"publish\",\n  \"author\": {\n    \"id\": 5,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"http:\/\/zapier.test.com\",\n    \"message\": \"\",\n    \"registered_at\": \"2018-08-30 16:42:13\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier test\"\n  },\n  \"date_gmt\": \"2019-04-10 18:05:53\",\n  \"modified\": \"2019-04-10 12:08:13\",\n  \"modified_gmt\": \"2019-04-10 18:08:13\",\n  \"valid_memberships\": [\n    {\n      \"id\": 274,\n      \"title\": \"3 day free trial\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-04-10 12:05:01\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-10 18:05:01\",\n      \"modified\": \"2019-04-10 12:05:01\",\n      \"modified_gmt\": \"2019-04-10 18:05:01\",\n      \"group\": \"0\",\n      \"price\": \"25.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": \"1\",\n      \"trial_days\": \"3\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"3 day free trial\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-10\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    }\n  ],\n  \"should_expire\": false,\n  \"expires_on\": \"0\",\n  \"usage_count\": \"0\",\n  \"usage_amount\": \"0\",\n  \"discount_type\": \"percent\",\n  \"discount_amount\": \"15\",\n  \"discount_mode\": \"standard\",\n  \"trial_days\": \"3\",\n  \"trial_amount\": \"0.00\"\n}\n<\/pre>\n<h2 id=\"get-transactions\">Get Transactions<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get one Transaction with a given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t<strong>page<\/strong> (integer, default value: 1) \u2013\u00a0Current page of the collection.<\/p>\n<p>\n\t<strong>per_page<\/strong> (integer, default value: 10) \u2013\u00a0Maximum number of items to be returned in result set.<\/p>\n<p>\n\t<strong>search<\/strong> (string) \u2013\u00a0Limit results to those matching a string.<\/p>\n<p>\n\t<strong>member<\/strong> (integer) \u2013\u00a0Limit results to transactions of a specific member.<\/p>\n<p>\n\t<strong>membership<\/strong> (integer) \u2013\u00a0Limit results to transactions for a specific membership.<\/p>\n<p>\n\t<strong>coupon<\/strong> (integer) \u2013\u00a0Limit results to transactions created with a specific coupon.<\/p>\n<p>\n\t<strong>status<\/strong> (string) \u2013\u00a0Limit results to transactions with a given status.<\/p>\n<p>\n\t<strong>gateway<\/strong> (string) \u2013\u00a0Limit results to transactions created with a specific payment gateway.\u00a0Should be\u00a0a unique ID of the Payment method that can be found in the payments tab of the MemberPress Settings page.<\/p>\n<p>\n\t<strong>subscription<\/strong> (integer) \u2013\u00a0Limit results to transactions associated with a specific subscription<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/transactions?page=2&per_page=10\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>[\n  {\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 56,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-18 16:47:14\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapiertest\",\n      \"address\": {\n        \"mepr-address-one\": \"123 fake st\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"city\",\n        \"mepr-address-state\": \"UT\",\n        \"mepr-address-zip\": \"81111\",\n        \"mepr-address-country\": \"US\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"MemberPress\",\n        \"mepr_birthday\": \"2019-04-18\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": {\n      \"coupon\": \"0\",\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"id\": \"69\",\n      \"subscr_id\": \"cus_EuSIHGllVD3168\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2019-04-18 16:47:19\",\n      \"total\": \"100.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2020\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"id\": \"199\",\n    \"amount\": \"100.00\",\n    \"total\": \"100.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-18 16:47:21\",\n    \"expires_at\": \"2019-05-18 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": false,\n    \"subscription_payment_index\": 1,\n    \"commissions\": []\n  },\n  {\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 56,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-18 16:47:14\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapiertest\",\n      \"address\": {\n        \"mepr-address-one\": \"123 fake st\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"city\",\n        \"mepr-address-state\": \"UT\",\n        \"mepr-address-zip\": \"81111\",\n        \"mepr-address-country\": \"US\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"MemberPress\",\n        \"mepr_birthday\": \"2019-04-18\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": {\n      \"coupon\": \"0\",\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"id\": \"69\",\n      \"subscr_id\": \"cus_EuSIHGllVD3168\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2019-04-18 16:47:19\",\n      \"total\": \"100.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2020\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"id\": \"198\",\n    \"amount\": \"0.00\",\n    \"total\": \"0.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"cus_EuSIHGllVD3168\",\n    \"status\": \"confirmed\",\n    \"txn_type\": \"subscription_confirmation\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-18 16:47:14\",\n    \"expires_at\": \"2019-04-18 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": false,\n    \"subscription_payment_index\": false\n  },\n  {\n    \"membership\": {\n      \"id\": 271,\n      \"title\": \"One day membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-04-04 12:14:54\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-04-04 18:14:54\",\n      \"modified\": \"2019-04-04 12:14:54\",\n      \"modified_gmt\": \"2019-04-04 18:14:54\",\n      \"group\": \"0\",\n      \"price\": \"10.00\",\n      \"period\": \"1\",\n      \"period_type\": \"lifetime\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"One day membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"delay\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-04\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"http:\/\/zapier.test.com\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:42:13\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapier test\",\n      \"address\": {\n        \"mepr-address-one\": \"120 S 200 W\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"lehi\",\n        \"mepr-address-state\": \"UT\",\n        \"mepr-address-zip\": \"84043\",\n        \"mepr-address-country\": \"US\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"\",\n        \"mepr_birthday\": \"2019-01-02\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": \"0\",\n    \"id\": \"195\",\n    \"amount\": \"10.00\",\n    \"total\": \"10.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EPstWJT1LHvX6ILpbHj3WEZ\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-16 15:08:20\",\n    \"expires_at\": \"2019-04-17 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": false,\n    \"subscription_payment_index\": false,\n    \"commissions\": []\n  },\n  {\n    \"membership\": {\n      \"id\": 14,\n      \"title\": \"Silver Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:09:57\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:09:57\",\n      \"modified\": \"2018-08-30 16:09:57\",\n      \"modified_gmt\": \"2018-08-30 16:09:57\",\n      \"group\": \"17\",\n      \"price\": \"25.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"1\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Silver Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2018-08-30\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 5,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"http:\/\/zapier.test.com\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:42:13\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapier test\",\n      \"address\": {\n        \"mepr-address-one\": \"120 S 200 W\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"lehi\",\n        \"mepr-address-state\": \"UT\",\n        \"mepr-address-zip\": \"84043\",\n        \"mepr-address-country\": \"US\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"\",\n        \"mepr_birthday\": \"2019-01-02\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": {\n      \"coupon\": \"0\",\n      \"membership\": \"14\",\n      \"member\": \"5\",\n      \"id\": \"35\",\n      \"subscr_id\": \"cus_ELEy7Swsow2wLS\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"25.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2019-01-14 16:41:05\",\n      \"total\": \"25.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2020\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"id\": \"194\",\n    \"amount\": \"25.00\",\n    \"total\": \"25.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EPCLEJT1LHvX6ILbOivd11C\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-14 17:42:12\",\n    \"expires_at\": \"2019-05-14 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": true,\n    \"subscription_payment_index\": 4,\n    \"commissions\": []\n  },\n  {\n    \"membership\": {\n      \"id\": 167,\n      \"title\": \"trial cancellation test\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-12-14 08:17:25\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2018-12-14 15:17:25\",\n      \"modified\": \"2018-12-14 08:17:25\",\n      \"modified_gmt\": \"2018-12-14 15:17:25\",\n      \"group\": \"0\",\n      \"price\": \"20.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": \"1\",\n      \"trial_days\": \"30\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"trial cancellation test\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2018-12-14\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 29,\n      \"email\": \"trial3@test.com\",\n      \"username\": \"trial3@test.com\",\n      \"nicename\": \"trial3test-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-12-14 15:18:45\",\n      \"first_name\": \"trial2\",\n      \"last_name\": \"test\",\n      \"display_name\": \"trial3@test.com\",\n      \"address\": {\n        \"mepr-address-one\": \"123 N\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"Riverton\",\n        \"mepr-address-state\": \"UT\",\n        \"mepr-address-zip\": \"84065\",\n        \"mepr-address-country\": \"US\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"\",\n        \"mepr_birthday\": \"\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": {\n      \"coupon\": \"0\",\n      \"membership\": \"167\",\n      \"member\": \"29\",\n      \"id\": \"26\",\n      \"subscr_id\": \"cus_E9beibZQIjrARq\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"20.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"1\",\n      \"trial_days\": \"30\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2018-12-14 15:19:04\",\n      \"total\": \"20.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2020\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"id\": \"193\",\n    \"amount\": \"20.00\",\n    \"total\": \"20.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EOodxJT1LHvX6ILTPMeYLk3\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-13 16:23:57\",\n    \"expires_at\": \"2019-05-13 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": true,\n    \"subscription_payment_index\": 4,\n    \"commissions\": []\n  },\n  {\n    \"membership\": {\n      \"id\": 209,\n      \"title\": \"Trial period double signup\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2019-02-06 15:14:14\",\n      \"status\": \"publish\",\n      \"author\": \"5\",\n      \"date_gmt\": \"2019-02-06 22:14:14\",\n      \"modified\": \"2019-02-25 14:13:29\",\n      \"modified_gmt\": \"2019-02-25 21:13:29\",\n      \"group\": \"0\",\n      \"price\": \"10.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"1\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Trial period double signup\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"delay\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-02-25\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": \"1\",\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 40,\n      \"email\": \"multitrial@test.com\",\n      \"username\": \"multitrialtest\",\n      \"nicename\": \"multitrialtest\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-02-06 22:16:19\",\n      \"first_name\": \"multitrial\",\n      \"last_name\": \"test\",\n      \"display_name\": \"multitrialtest\",\n      \"address\": {\n        \"mepr-address-one\": \"\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"\",\n        \"mepr-address-state\": \"\",\n        \"mepr-address-zip\": \"\",\n        \"mepr-address-country\": \"\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"\",\n        \"mepr_birthday\": \"\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": {\n      \"coupon\": \"0\",\n      \"membership\": \"209\",\n      \"member\": \"40\",\n      \"id\": \"42\",\n      \"subscr_id\": \"cus_EVj7zawVe0xj3O\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"10.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2019-02-11 16:29:32\",\n      \"total\": \"10.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2020\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"id\": \"192\",\n    \"amount\": \"10.00\",\n    \"total\": \"10.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EO6jWJT1LHvX6ILxfcxx7UR\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-11 17:30:46\",\n    \"expires_at\": \"2019-05-11 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": true,\n    \"subscription_payment_index\": 3,\n    \"commissions\": []\n  },\n  {\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 13,\n      \"email\": \"test6@email.com\",\n      \"username\": \"test6@email.com\",\n      \"nicename\": \"test6email-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-09-10 22:51:42\",\n      \"first_name\": \"\",\n      \"last_name\": \"\",\n      \"display_name\": \"test6@email.com\",\n      \"address\": {\n        \"mepr-address-one\": \"\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"\",\n        \"mepr-address-state\": \"\",\n        \"mepr-address-zip\": \"\",\n        \"mepr-address-country\": \"\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"\",\n        \"mepr_birthday\": \"\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": {\n      \"coupon\": \"0\",\n      \"membership\": \"15\",\n      \"member\": \"13\",\n      \"id\": \"4\",\n      \"subscr_id\": \"I-NTY3JJ4SEM15\",\n      \"gateway\": \"pejdpl-1yy\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2018-09-10 22:53:04\",\n      \"total\": \"100.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"\",\n      \"cc_exp_month\": \"\",\n      \"cc_exp_year\": \"\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"id\": \"191\",\n    \"amount\": \"100.00\",\n    \"total\": \"100.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"94773182YA5488446\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"pejdpl-1yy\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-10 17:41:20\",\n    \"expires_at\": \"2019-05-10 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": true,\n    \"subscription_payment_index\": 8,\n    \"commissions\": []\n  },\n  {\n    \"membership\": \"0\",\n    \"member\": {\n      \"id\": 24,\n      \"email\": \"diggity@email.com\",\n      \"username\": \"diggity@email.com\",\n      \"nicename\": \"diggityemail-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-12-03 20:30:51\",\n      \"first_name\": \"test\",\n      \"last_name\": \"username\",\n      \"display_name\": \"diggity@email.com\",\n      \"address\": {\n        \"mepr-address-one\": \"\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"\",\n        \"mepr-address-state\": \"\",\n        \"mepr-address-zip\": \"\",\n        \"mepr-address-country\": \"\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"\",\n        \"mepr_birthday\": \"\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": {\n      \"coupon\": \"0\",\n      \"membership\": \"0\",\n      \"member\": \"24\",\n      \"id\": \"21\",\n      \"subscr_id\": \"cus_E5ZCTZ9Z5OaNks\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"10.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2018-12-03 20:31:15\",\n      \"total\": \"10.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2020\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"id\": \"190\",\n    \"amount\": \"10.00\",\n    \"total\": \"10.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EMLD1JT1LHvX6ILTpgwZu0q\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-06 20:33:55\",\n    \"expires_at\": \"2019-05-03 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": true,\n    \"subscription_payment_index\": 5,\n    \"commissions\": []\n  },\n  {\n    \"membership\": {\n      \"id\": 92,\n      \"title\": \"Unlock Your Performance - Premium\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-09-24 14:24:43\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-09-24 20:24:43\",\n      \"modified\": \"2019-04-05 15:35:29\",\n      \"modified_gmt\": \"2019-04-05 21:35:29\",\n      \"group\": \"93\",\n      \"price\": \"257.00\",\n      \"period\": \"1\",\n      \"period_type\": \"lifetime\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Unlock Your Performance - Premium\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"delay\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"weeks\",\n      \"expire_fixed\": \"2019-04-05\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": \"1\",\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 5,\n     \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"http:\/\/zapier.test.com\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:42:13\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapier test\",\n      \"address\": {\n        \"mepr-address-one\": \"120 S 200 W\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"lehi\",\n        \"mepr-address-state\": \"UT\",\n        \"mepr-address-zip\": \"84043\",\n        \"mepr-address-country\": \"US\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"\",\n        \"mepr_birthday\": \"2019-01-02\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": \"0\",\n    \"id\": \"189\",\n    \"amount\": \"257.00\",\n    \"total\": \"257.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"mp-txn-5ca7ca6a1d8a6\",\n    \"status\": \"pending\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-05 21:36:42\",\n    \"expires_at\": \"2019-04-19 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": false,\n    \"subscription_payment_index\": false\n  },\n  {\n    \"membership\": {\n      \"id\": 92,\n      \"title\": \"Unlock Your Performance - Premium\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-09-24 14:24:43\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-09-24 20:24:43\",\n      \"modified\": \"2019-04-05 15:35:29\",\n      \"modified_gmt\": \"2019-04-05 21:35:29\",\n      \"group\": \"93\",\n      \"price\": \"257.00\",\n      \"period\": \"1\",\n      \"period_type\": \"lifetime\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"0\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Unlock Your Performance - Premium\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"auto\",\n      \"custom_price\": \"\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"delay\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"weeks\",\n      \"expire_fixed\": \"2019-04-05\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": \"1\",\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": false,\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": false,\n      \"custom_payment_methods\": [],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 5,\n     \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"http:\/\/zapier.test.com\",\n      \"message\": \"\",\n      \"registered_at\": \"2018-08-30 16:42:13\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapier test\",\n      \"address\": {\n        \"mepr-address-one\": \"120 S 200 W\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"lehi\",\n        \"mepr-address-state\": \"UT\",\n        \"mepr-address-zip\": \"84043\",\n        \"mepr-address-country\": \"US\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"\",\n        \"mepr_birthday\": \"2019-01-02\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": \"0\",\n    \"id\": \"188\",\n    \"amount\": \"257.00\",\n    \"total\": \"257.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1ELzhmJT1LHvX6ILPVV6mtMr\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-05 21:35:49\",\n    \"expires_at\": \"2019-04-12 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": false,\n    \"subscription_payment_index\": false,\n    \"commissions\": []\n  }\n]\n<\/pre>\n<h2 id=\"get-transaction\">Get Transaction<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Get one Transaction with a given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/transactions\/167\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>\t{\n  \"membership\": {\n    \"id\": 15,\n    \"title\": \"Gold Membership\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2018-08-30 16:10:22\",\n    \"status\": \"publish\",\n    \"author\": \"2\",\n    \"date_gmt\": \"2018-08-30 16:10:22\",\n    \"modified\": \"2019-03-14 13:10:21\",\n    \"modified_gmt\": \"2019-03-14 19:10:21\",\n    \"group\": \"17\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"2\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Gold Membership\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"custom\",\n    \"custom_price\": \"Pricing\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"This is a test\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-03-14\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": \"1\",\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": \"1\",\n    \"custom_payment_methods\": [\n      \"peum51-1tc\"\n    ],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  \"member\": {\n    \"id\": 46,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapier@test.com\",\n    \"nicename\": \"zapiertest-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-03-19 16:48:20\",\n    \"first_name\": \"Zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier@test.com\",\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"Zapier test\",\n      \"mepr_birthday\": \"2019-03-19\",\n      \"mepr_testslug\": \"\"\n    }\n  },\n  \"coupon\": \"0\",\n  \"subscription\": {\n    \"coupon\": \"0\",\n    \"membership\": \"15\",\n    \"member\": \"46\",\n    \"id\": \"59\",\n    \"subscr_id\": \"cus_EjDYhKuKyRY5N2\",\n    \"gateway\": \"peum51-1tc\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"cancelled\",\n    \"created_at\": \"2019-03-19 16:48:25\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2030\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"id\": \"167\",\n  \"amount\": \"100.00\",\n  \"total\": \"100.00\",\n  \"tax_amount\": \"0.00\",\n  \"tax_rate\": \"0.000\",\n  \"tax_desc\": \"\",\n  \"tax_class\": \"standard\",\n  \"trans_num\": \"ch_1EFl6yJT1LHvX6IL95fhb7M4\",\n  \"status\": \"refunded\",\n  \"txn_type\": \"payment\",\n  \"gateway\": \"peum51-1tc\",\n  \"prorated\": \"0\",\n  \"created_at\": \"2019-03-19 16:48:28\",\n  \"expires_at\": \"2019-04-19 23:59:59\",\n  \"corporate_account_id\": \"0\",\n  \"parent_transaction_id\": \"0\",\n  \"tax_compound\": \"0\",\n  \"tax_shipping\": \"1\",\n  \"response\": null,\n  \"rebill\": false,\n  \"subscription_payment_index\": 1,\n  \"commissions\": []\n}\n<\/pre>\n<h2 id=\"create-transaction\">Create Transaction<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Create a Transaction with the given field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>trans_num<\/strong>\u00a0(string, default value: mp-txn-xxx\u2026) \u2013\u00a0The unique Transaction Number.<\/p>\n<p>\n\t<strong>amount<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0The base price for the Transaction (not including tax)<\/p>\n<p>\n\t<strong>total<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0The total price for this Transaction (including tax)<\/p>\n<p>\n\t<strong>tax_amount<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0Use this to manually set the tax amount for this Transaction<\/p>\n<p>\n\t<strong>tax_rate<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0Use this to manually set the tax rate for this Transaction<\/p>\n<p>\n\t<strong>tax_desc<\/strong>\u00a0(string) \u2013\u00a0Use this to manually set the tax description for this Transaction<\/p>\n<p>\n\t<strong>tax_class<\/strong>\u00a0(string, default value: standard) \u2013\u00a0Use this to manually set the tax class for this Transaction<\/p>\n<p>\n\t<strong>member<\/strong> (Required) (integer, default value: 0) \u2013\u00a0The Member's WordPress User ID.<\/p>\n<p>\n\t<strong>membership<\/strong> (Required) (integer, default value: 0) \u2013\u00a0The Membership ID associated with this Transaction.<\/p>\n<p>\n\t<strong>coupon<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0The Coupon ID associated with this Transaction.<\/p>\n<p>\n\t<strong>status<\/strong>\u00a0(string, default value: pending) \u2013\u00a0The status of this Transaction.<\/p>\n<p>\n\t<strong>response<\/strong>\u00a0(string) \u2013\u00a0A place where you can store Payment Gateway POST or GET responses for later reference.<\/p>\n<p>\n\t<strong>gateway<\/strong>\u00a0(string, default value: manual) \u2013\u00a0The unique ID of the Payment method that can be found in the payments tab of MemberPress Settings page.<\/p>\n<p>\n\t<strong>subscription<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0The ID of the Recurring Subscription CPT associated with this Transaction.<\/p>\n<p>\n\t<strong>created_at<\/strong>\u00a0(string, default value: Current Timestamp) \u2013\u00a0The date the Transaction was created. This should be in a MySQL datetime format. All dates stored in the database should be in UTC timezone.<\/p>\n<p>\n\t<strong>expires_at<\/strong>\u00a0(string, default value: 0000-00-00 00:00:00) \u2013\u00a0The date the Transaction will expire on. This should be in a MySQL datetime format. All dates stored in the database should be in UTC timezone. Note: Leave at default to create a Transaction that last's a lifetime (aka never expires).<\/p>\n<p>\n\t<strong>send_welcome_email<\/strong>\u00a0(bool, default value: false) \u2013\u00a0When set to true this will trigger a welcome email to send to the new member. If the user has already received a welcome email, and the membership this transaction is for does not have its own welcome email configured, then no email will be sent.<\/p>\n<p>\n\t<strong>send_receipt_email<\/strong>\u00a0(bool, default value: false) \u2013\u00a0When set to true this will trigger a transaction receipt email to be sent.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/transactions\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d amount=\"100.00\" \\\n       -d total=\"100.00\" \\\n       -d tax_amount=\"0.00\" \\\n       -d tax_rate=\"0.000\" \\\n       -d tax_class=standard \\\n       -d trans_num=\"ch_1EFl6yJT1LHvX6IL95fhb7M4\" \\\n       -d status=refunded \\\n       -d gateway=\"peum51-1tc\" \\\n       -d created_at=\"2019-03-19 16:48:28\" \\\n       -d expires_at=\"2019-04-19 23:59:59\"\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"membership\": {\n    \"id\": 15,\n    \"title\": \"Gold Membership\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2018-08-30 16:10:22\",\n    \"status\": \"publish\",\n    \"author\": \"2\",\n    \"date_gmt\": \"2018-08-30 16:10:22\",\n    \"modified\": \"2019-03-14 13:10:21\",\n    \"modified_gmt\": \"2019-03-14 19:10:21\",\n    \"group\": \"17\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"2\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Gold Membership\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"custom\",\n    \"custom_price\": \"Pricing\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"This is a test\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-03-14\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": \"1\",\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": \"1\",\n    \"custom_payment_methods\": [\n      \"peum51-1tc\"\n    ],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  \"member\": {\n    \"id\": 46,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapier@test.com\",\n    \"nicename\": \"zapiertest-com\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-03-19 16:48:20\",\n    \"first_name\": \"Zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapier@test.com\",\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"Zapier test\",\n      \"mepr_birthday\": \"2019-03-19\",\n      \"mepr_testslug\": \"\"\n    }\n  },\n  \"coupon\": \"0\",\n  \"subscription\": {\n    \"coupon\": \"0\",\n    \"membership\": \"15\",\n    \"member\": \"46\",\n    \"id\": \"59\",\n    \"subscr_id\": \"cus_EjDYhKuKyRY5N2\",\n    \"gateway\": \"peum51-1tc\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"cancelled\",\n    \"created_at\": \"2019-03-19 16:48:25\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2030\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"id\": \"167\",\n  \"amount\": \"100.00\",\n  \"total\": \"100.00\",\n  \"tax_amount\": \"0.00\",\n  \"tax_rate\": \"0.000\",\n  \"tax_desc\": \"\",\n  \"tax_class\": \"standard\",\n  \"trans_num\": \"ch_1EFl6yJT1LHvX6IL95fhb7M4\",\n  \"status\": \"refunded\",\n  \"txn_type\": \"payment\",\n  \"gateway\": \"peum51-1tc\",\n  \"prorated\": \"0\",\n  \"created_at\": \"2019-03-19 16:48:28\",\n  \"expires_at\": \"2019-04-19 23:59:59\",\n  \"corporate_account_id\": \"0\",\n  \"parent_transaction_id\": \"0\",\n  \"tax_compound\": \"0\",\n  \"tax_shipping\": \"1\",\n  \"response\": null,\n  \"rebill\": false,\n  \"subscription_payment_index\": 1,\n  \"commissions\": []\n}\n<\/pre>\n<h2 id=\"update-transaction\">Update Transaction<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Update a Transaction with the given id and field values.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t<strong>trans_num<\/strong>\u00a0(string, default value: mp-txn-xxx\u2026) \u2013\u00a0The unique Transaction Number.<\/p>\n<p>\n\t<strong>amount<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0The base price for the Transaction (not including tax)<\/p>\n<p>\n\t<strong>total<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0The total price for this Transaction (including tax)<\/p>\n<p>\n\t<strong>tax_amount<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0Use this to manually set the tax amount for this Transaction<\/p>\n<p>\n\t<strong>tax_rate<\/strong>\u00a0(decimal, default value: 0.00) \u2013\u00a0Use this to manually set the tax rate for this Transaction<\/p>\n<p>\n\t<strong>tax_desc<\/strong>\u00a0(string) \u2013\u00a0Use this to manually set the tax description for this Transaction<\/p>\n<p>\n\t<strong>tax_class<\/strong>\u00a0(string, default value: standard) \u2013\u00a0Use this to manually set the tax class for this Transaction<\/p>\n<p>\n\t<strong>member<\/strong> (Required) (integer, default value: 0) \u2013\u00a0The Member's WordPress User ID.<\/p>\n<p>\n\t<strong>membership<\/strong> (Required) (integer, default value: 0) \u2013\u00a0The Membership ID associated with this Transaction.<\/p>\n<p>\n\t<strong>coupon<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0The Coupon ID associated with this Transaction.<\/p>\n<p>\n\t<strong>status<\/strong>\u00a0(string, default value: pending) \u2013\u00a0The status of this Transaction.<\/p>\n<p>\n\t<strong>response<\/strong>\u00a0(string) \u2013\u00a0A place where you can store Payment Gateway POST or GET responses for later reference.<\/p>\n<p>\n\t<strong>gateway<\/strong>\u00a0(string, default value: manual) \u2013\u00a0The unique ID of the Payment method that can be found in the payments tab of MemberPress Settings page.<\/p>\n<p>\n\t<strong>subscription<\/strong>\u00a0(integer, default value: 0) \u2013\u00a0The ID of the Recurring Subscription CPT associated with this Transaction.<\/p>\n<p>\n\t<strong>created_at<\/strong>\u00a0(string, default value: Current Timestamp) \u2013\u00a0The date the Transaction was created. This should be in a MySQL datetime format. All dates stored in the database should be in UTC timezone.<\/p>\n<p>\n\t<strong>expires_at<\/strong>\u00a0(string, default value: 0000-00-00 00:00:00) \u2013\u00a0The date the Transaction will expire on. This should be in a MySQL datetime format. All dates stored in the database should be in UTC timezone. Note: Leave at default to create a Transaction that last's a lifetime (aka never expires).<\/p>\n<p>\n\t<strong>send_welcome_email<\/strong>\u00a0(bool, default value: false) \u2013\u00a0When set to true this will trigger a welcome email to send to the new member. If the user has already received a welcome email, and the membership this transaction is for does not have its own welcome email configured, then no email will be sent.<\/p>\n<p>\n\t<strong>send_receipt_email<\/strong>\u00a0(bool, default value: false) \u2013\u00a0When set to true this will trigger a transaction receipt email to be sent.<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/transactions\/199\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n       -d amount=\"100.00\" \\\n       -d total=\"100.00\" \\\n       -d tax_amount=\"0.00\" \\\n       -d tax_rate=\"0.000\" \\\n       -d tax_class=standard \\\n       -d trans_num=\"ch_1EQdOLJT1LHvX6ILZhIzeboJ\" \\\n       -d status=complete \\\n       -d gateway=\"peum51-1tc\" \\\n       -d created_at=\"2019-04-18 16:47:21\" \\\n       -d expires_at=\"2019-05-18 23:59:59\"\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"membership\": {\n    \"id\": 15,\n    \"title\": \"Gold Membership\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2018-08-30 16:10:22\",\n    \"status\": \"publish\",\n    \"author\": \"2\",\n    \"date_gmt\": \"2018-08-30 16:10:22\",\n    \"modified\": \"2019-04-01 15:03:22\",\n    \"modified_gmt\": \"2019-04-01 21:03:22\",\n    \"group\": \"17\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"2\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Gold Membership\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"custom\",\n    \"custom_price\": \"Pricing\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"This is a test\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-04-01\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": \"1\",\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": \"1\",\n    \"custom_payment_methods\": [\n      \"peum51-1tc\"\n    ],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  \"member\": {\n    \"id\": 56,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-18 16:47:14\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapiertest\",\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"MemberPress\",\n      \"mepr_birthday\": \"2019-04-18\",\n      \"mepr_testslug\": \"\"\n    }\n  },\n  \"coupon\": \"0\",\n  \"subscription\": {\n    \"coupon\": \"0\",\n    \"membership\": \"15\",\n    \"member\": \"56\",\n    \"id\": \"69\",\n    \"subscr_id\": \"cus_EuSIHGllVD3168\",\n    \"gateway\": \"peum51-1tc\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"active\",\n    \"created_at\": \"2019-04-18 16:47:19\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"id\": \"199\",\n  \"amount\": \"100.00\",\n  \"total\": \"100.00\",\n  \"tax_amount\": \"0.00\",\n  \"tax_rate\": \"0.000\",\n  \"tax_desc\": \"\",\n  \"tax_class\": \"standard\",\n  \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n  \"status\": \"complete\",\n  \"txn_type\": \"payment\",\n  \"gateway\": \"peum51-1tc\",\n  \"prorated\": \"0\",\n  \"created_at\": \"2019-04-18 16:47:21\",\n  \"expires_at\": \"2019-05-18 23:59:59\",\n  \"corporate_account_id\": \"0\",\n  \"parent_transaction_id\": \"0\",\n  \"tax_compound\": \"0\",\n  \"tax_shipping\": \"1\",\n  \"response\": null,\n  \"rebill\": false,\n  \"subscription_payment_index\": 1,\n  \"commissions\": []\n}\n<\/pre>\n<h2 id=\"delete-transaction\">Delete Transaction<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Delete a Transaction with the given id.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X DELETE \"http:\/\/yourdomai.com\/wp-json\/mp\/v1\/transactions\/199\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"membership\": {\n    \"id\": 15,\n    \"title\": \"Gold Membership\",\n    \"content\": \"\",\n    \"excerpt\": \"\",\n    \"date\": \"2018-08-30 16:10:22\",\n    \"status\": \"publish\",\n    \"author\": \"2\",\n    \"date_gmt\": \"2018-08-30 16:10:22\",\n    \"modified\": \"2019-04-01 15:03:22\",\n    \"modified_gmt\": \"2019-04-01 21:03:22\",\n    \"group\": \"17\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"signup_button_text\": \"Sign Up\",\n    \"limit_cycles\": false,\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"trial\": false,\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"trial_once\": \"1\",\n    \"group_order\": \"2\",\n    \"is_highlighted\": false,\n    \"plan_code\": \"\",\n    \"pricing_title\": \"Gold Membership\",\n    \"pricing_show_price\": true,\n    \"pricing_display\": \"custom\",\n    \"custom_price\": \"Pricing\",\n    \"pricing_heading_txt\": \"\",\n    \"pricing_footer_txt\": \"\",\n    \"pricing_button_txt\": \"Sign Up\",\n    \"pricing_button_position\": \"footer\",\n    \"pricing_benefits\": [\n      \"\"\n    ],\n    \"register_price_action\": \"default\",\n    \"register_price\": \"This is a test\",\n    \"thank_you_page_enabled\": false,\n    \"thank_you_page_type\": \"message\",\n    \"thank_you_message\": \"\",\n    \"thank_you_page_id\": \"0\",\n    \"custom_login_urls_enabled\": false,\n    \"custom_login_urls_default\": \"\",\n    \"custom_login_urls\": [],\n    \"expire_type\": \"none\",\n    \"expire_after\": \"1\",\n    \"expire_unit\": \"days\",\n    \"expire_fixed\": \"2019-04-01\",\n    \"tax_exempt\": false,\n    \"allow_renewal\": false,\n    \"access_url\": \"\",\n    \"disable_address_fields\": false,\n    \"simultaneous_subscriptions\": \"1\",\n    \"use_custom_template\": false,\n    \"custom_template\": \"template-sitemap.php\",\n    \"customize_payment_methods\": \"1\",\n    \"custom_payment_methods\": [\n      \"peum51-1tc\"\n    ],\n    \"customize_profile_fields\": false,\n    \"custom_profile_fields\": [],\n    \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n  },\n  \"member\": {\n    \"id\": 56,\n    \"email\": \"zapier@test.com\",\n    \"username\": \"zapiertest\",\n    \"nicename\": \"zapiertest\",\n    \"url\": \"\",\n    \"message\": \"\",\n    \"registered_at\": \"2019-04-18 16:47:14\",\n    \"first_name\": \"zapier\",\n    \"last_name\": \"test\",\n    \"display_name\": \"zapiertest\",\n    \"address\": {\n      \"mepr-address-one\": \"123 fake st\",\n      \"mepr-address-two\": \"\",\n      \"mepr-address-city\": \"city\",\n      \"mepr-address-state\": \"UT\",\n      \"mepr-address-zip\": \"81111\",\n      \"mepr-address-country\": \"US\"\n    },\n    \"profile\": {\n      \"mepr_company_name\": \"MemberPress\",\n      \"mepr_birthday\": \"2019-04-18\",\n      \"mepr_testslug\": \"\"\n    }\n  },\n  \"coupon\": \"0\",\n  \"subscription\": {\n    \"coupon\": \"0\",\n    \"membership\": \"15\",\n    \"member\": \"56\",\n    \"id\": \"69\",\n    \"subscr_id\": \"cus_EuSIHGllVD3168\",\n    \"gateway\": \"peum51-1tc\",\n    \"price\": \"100.00\",\n    \"period\": \"1\",\n    \"period_type\": \"months\",\n    \"limit_cycles\": \"0\",\n    \"limit_cycles_num\": \"2\",\n    \"limit_cycles_action\": \"expire\",\n    \"prorated_trial\": \"0\",\n    \"trial\": \"0\",\n    \"trial_days\": \"0\",\n    \"trial_amount\": \"0.00\",\n    \"status\": \"active\",\n    \"created_at\": \"2019-04-18 16:47:19\",\n    \"total\": \"100.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_amount\": \"0.00\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"cc_last4\": \"1111\",\n    \"cc_exp_month\": \"10\",\n    \"cc_exp_year\": \"2020\",\n    \"token\": \"\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null\n  },\n  \"id\": \"199\",\n  \"amount\": \"100.00\",\n  \"total\": \"100.00\",\n  \"tax_amount\": \"0.00\",\n  \"tax_rate\": \"0.000\",\n  \"tax_desc\": \"\",\n  \"tax_class\": \"standard\",\n  \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n  \"status\": \"complete\",\n  \"txn_type\": \"payment\",\n  \"gateway\": \"peum51-1tc\",\n  \"prorated\": \"0\",\n  \"created_at\": \"2019-04-18 16:47:21\",\n  \"expires_at\": \"2019-05-18 23:59:59\",\n  \"corporate_account_id\": \"0\",\n  \"parent_transaction_id\": \"0\",\n  \"tax_compound\": \"0\",\n  \"tax_shipping\": \"1\",\n  \"response\": null,\n  \"rebill\": false,\n  \"subscription_payment_index\": 1,\n  \"commissions\": []\n}\n<\/pre>\n<h2 id=\"refund-transaction\">Refund Transaction<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Refund a given transaction.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/transactions\/167\/refund\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"message\": \"The transaction was successfully refunded.\",\n  \"data\": {\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-03-14 13:10:21\",\n      \"modified_gmt\": \"2019-03-14 19:10:21\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-03-14\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 46,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapier@test.com\",\n      \"nicename\": \"zapiertest-com\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-03-19 16:48:20\",\n      \"first_name\": \"Zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapier@test.com\",\n      \"address\": {\n        \"mepr-address-one\": \"123 fake st\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"city\",\n        \"mepr-address-state\": \"UT\",\n        \"mepr-address-zip\": \"81111\",\n        \"mepr-address-country\": \"US\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"Zapier test\",\n        \"mepr_birthday\": \"2019-03-19\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": {\n      \"coupon\": \"0\",\n      \"membership\": \"15\",\n      \"member\": \"46\",\n      \"id\": \"59\",\n      \"subscr_id\": \"cus_EjDYhKuKyRY5N2\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"cancelled\",\n      \"created_at\": \"2019-03-19 16:48:25\",\n      \"total\": \"100.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2030\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"id\": \"167\",\n    \"amount\": \"100.00\",\n    \"total\": \"100.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EFl6yJT1LHvX6IL95fhb7M4\",\n    \"status\": \"refunded\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-03-19 16:48:28\",\n    \"expires_at\": \"2019-04-19 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": false,\n    \"subscription_payment_index\": 1,\n    \"commissions\": []\n  }\n}\n<\/pre>\n<h2 id=\"refund-and-cancel-transaction\">Refund & Cancel Transaction<\/h2>\n<h4>Description<\/h4>\n<p>\n\t Refund a given transaction and cancel its associated subscription.<\/p>\n<h4>Search Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Update Arguments<\/h4>\n<p>\n\t None<\/p>\n<h4>Sample Request<\/h4>\n<pre>$ curl -X POST \"http:\/\/yourdomain.com\/wp-json\/mp\/v1\/transactions\/199\/refund_and_cancel\" \\\n       -H \"MEMBERPRESS-API-KEY: API-KEY-HERE\" \\\n<\/pre>\n<h4>Sample Response<\/h4>\n<pre>{\n  \"message\": \"The transaction was successfully refunded and it's associated subscription was cancelled.\",\n  \"data\": {\n    \"membership\": {\n      \"id\": 15,\n      \"title\": \"Gold Membership\",\n      \"content\": \"\",\n      \"excerpt\": \"\",\n      \"date\": \"2018-08-30 16:10:22\",\n      \"status\": \"publish\",\n      \"author\": \"2\",\n      \"date_gmt\": \"2018-08-30 16:10:22\",\n      \"modified\": \"2019-04-01 15:03:22\",\n      \"modified_gmt\": \"2019-04-01 21:03:22\",\n      \"group\": \"17\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"signup_button_text\": \"Sign Up\",\n      \"limit_cycles\": false,\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"trial\": false,\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"trial_once\": \"1\",\n      \"group_order\": \"2\",\n      \"is_highlighted\": false,\n      \"plan_code\": \"\",\n      \"pricing_title\": \"Gold Membership\",\n      \"pricing_show_price\": true,\n      \"pricing_display\": \"custom\",\n      \"custom_price\": \"Pricing\",\n      \"pricing_heading_txt\": \"\",\n      \"pricing_footer_txt\": \"\",\n      \"pricing_button_txt\": \"Sign Up\",\n      \"pricing_button_position\": \"footer\",\n      \"pricing_benefits\": [\n        \"\"\n      ],\n      \"register_price_action\": \"default\",\n      \"register_price\": \"This is a test\",\n      \"thank_you_page_enabled\": false,\n      \"thank_you_page_type\": \"message\",\n      \"thank_you_message\": \"\",\n      \"thank_you_page_id\": \"0\",\n      \"custom_login_urls_enabled\": false,\n      \"custom_login_urls_default\": \"\",\n      \"custom_login_urls\": [],\n      \"expire_type\": \"none\",\n      \"expire_after\": \"1\",\n      \"expire_unit\": \"days\",\n      \"expire_fixed\": \"2019-04-01\",\n      \"tax_exempt\": false,\n      \"allow_renewal\": false,\n      \"access_url\": \"\",\n      \"disable_address_fields\": false,\n      \"simultaneous_subscriptions\": \"1\",\n      \"use_custom_template\": false,\n      \"custom_template\": \"template-sitemap.php\",\n      \"customize_payment_methods\": \"1\",\n      \"custom_payment_methods\": [\n        \"peum51-1tc\"\n      ],\n      \"customize_profile_fields\": false,\n      \"custom_profile_fields\": [],\n      \"cannot_purchase_message\": \"You don't have access to purchase this item.\"\n    },\n    \"member\": {\n      \"id\": 56,\n      \"email\": \"zapier@test.com\",\n      \"username\": \"zapiertest\",\n      \"nicename\": \"zapiertest\",\n      \"url\": \"\",\n      \"message\": \"\",\n      \"registered_at\": \"2019-04-18 16:47:14\",\n      \"first_name\": \"zapier\",\n      \"last_name\": \"test\",\n      \"display_name\": \"zapiertest\",\n      \"address\": {\n        \"mepr-address-one\": \"123 fake st\",\n        \"mepr-address-two\": \"\",\n        \"mepr-address-city\": \"city\",\n        \"mepr-address-state\": \"UT\",\n        \"mepr-address-zip\": \"81111\",\n        \"mepr-address-country\": \"US\"\n      },\n      \"profile\": {\n        \"mepr_company_name\": \"MemberPress\",\n        \"mepr_birthday\": \"2019-04-18\",\n        \"mepr_testslug\": \"\"\n      }\n    },\n    \"coupon\": \"0\",\n    \"subscription\": {\n      \"coupon\": \"0\",\n      \"membership\": \"15\",\n      \"member\": \"56\",\n      \"id\": \"69\",\n      \"subscr_id\": \"cus_EuSIHGllVD3168\",\n      \"gateway\": \"peum51-1tc\",\n      \"price\": \"100.00\",\n      \"period\": \"1\",\n      \"period_type\": \"months\",\n      \"limit_cycles\": \"0\",\n      \"limit_cycles_num\": \"2\",\n      \"limit_cycles_action\": \"expire\",\n      \"prorated_trial\": \"0\",\n      \"trial\": \"0\",\n      \"trial_days\": \"0\",\n      \"trial_amount\": \"0.00\",\n      \"status\": \"active\",\n      \"created_at\": \"2019-04-18 16:47:19\",\n      \"total\": \"100.00\",\n      \"tax_rate\": \"0.000\",\n      \"tax_amount\": \"0.00\",\n      \"tax_desc\": \"\",\n      \"tax_class\": \"standard\",\n      \"cc_last4\": \"1111\",\n      \"cc_exp_month\": \"10\",\n      \"cc_exp_year\": \"2020\",\n      \"token\": \"\",\n      \"tax_compound\": \"0\",\n      \"tax_shipping\": \"1\",\n      \"response\": null\n    },\n    \"id\": \"199\",\n    \"amount\": \"100.00\",\n    \"total\": \"100.00\",\n    \"tax_amount\": \"0.00\",\n    \"tax_rate\": \"0.000\",\n    \"tax_desc\": \"\",\n    \"tax_class\": \"standard\",\n    \"trans_num\": \"ch_1EQdOLJT1LHvX6ILZhIzeboJ\",\n    \"status\": \"complete\",\n    \"txn_type\": \"payment\",\n    \"gateway\": \"peum51-1tc\",\n    \"prorated\": \"0\",\n    \"created_at\": \"2019-04-18 16:47:21\",\n    \"expires_at\": \"2019-05-18 23:59:59\",\n    \"corporate_account_id\": \"0\",\n    \"parent_transaction_id\": \"0\",\n    \"tax_compound\": \"0\",\n    \"tax_shipping\": \"1\",\n    \"response\": null,\n    \"rebill\": false,\n    \"subscription_payment_index\": 1,\n    \"commissions\": []\n  }\n}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Overview General Me Webhooks Subscribe Webhooks Unsubscribe Subscriptions Get Subscriptions Get Subscription Create Subscription Update Subscription Delete Subscription Cancel Subscription Expire Subscription Members Get Members Get Member Create Member Update Member Delete Member Rules Get Rules Get Rule Create Rule Update Rule Delete Rule Memberships Get Memberships Get Membership Create Membership Update Membership Delete Membership [\u2026]<\/p>\n","protected":false},"author":62252,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","_strive_checklists":"\"\"","_strive_active_checklist":"62291e2bb2422","footnotes":""},"ht-kb-category":[1316],"ht-kb-tag":[],"class_list":{"0":"post-61642","1":"ht_kb","2":"type-ht_kb","3":"status-publish","4":"format-standard","6":"ht_kb_category-developer-tools","7":"entry"},"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.5.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Overview General Me Webhooks Subscribe Webhooks Unsubscribe Subscriptions Get Subscriptions Get Subscription Create Subscription Update Subscription Delete Subscription Cancel Subscription Expire Subscription Members Get Members Get Member Create Member Update Member Delete Member Rules Get Rules Get Rule Create Rule Update Rule Delete Rule Memberships Get Memberships Get Membership Create Membership Update Membership Delete Membership\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nikola M\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.5.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Developer Tools Actions | MemberPress\" \/>\n\t\t<meta property=\"og:description\" content=\"Overview General Me Webhooks Subscribe Webhooks Unsubscribe Subscriptions Get Subscriptions Get Subscription Create Subscription Update Subscription Delete Subscription Cancel Subscription Expire Subscription Members Get Members Get Member Create Member Update Member Delete Member Rules Get Rules Get Rule Create Rule Update Rule Delete Rule Memberships Get Memberships Get Membership Create Membership Update Membership Delete Membership\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1650\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1275\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-02-13T12:49:17+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-02-13T22:18:48+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/memberpress\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@memberpress\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Developer Tools Actions | MemberPress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Overview General Me Webhooks Subscribe Webhooks Unsubscribe Subscriptions Get Subscriptions Get Subscription Create Subscription Update Subscription Delete Subscription Cancel Subscription Expire Subscription Members Get Members Get Member Create Member Update Member Delete Member Rules Get Rules Get Rule Create Rule Update Rule Delete Rule Memberships Get Memberships Get Membership Create Membership Update Membership Delete Membership\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#article\",\"name\":\"Developer Tools Actions | MemberPress\",\"headline\":\"Developer Tools Actions\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#articleImage\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"datePublished\":\"2024-02-13T07:49:17-05:00\",\"dateModified\":\"2024-02-13T17:18:48-05:00\",\"inLanguage\":\"de-DE\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#webpage\"},\"articleSection\":\"Developer Tools\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/advanced-topics\\\/#listItem\",\"name\":\"Advanced Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/advanced-topics\\\/#listItem\",\"position\":2,\"name\":\"Advanced Topics\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/advanced-topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/developer-tools\\\/#listItem\",\"name\":\"Developer Tools\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/developer-tools\\\/#listItem\",\"position\":3,\"name\":\"Developer Tools\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/developer-tools\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#listItem\",\"name\":\"Developer Tools Actions\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/advanced-topics\\\/#listItem\",\"name\":\"Advanced Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#listItem\",\"position\":4,\"name\":\"Developer Tools Actions\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/developer-tools\\\/#listItem\",\"name\":\"Developer Tools\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/memberpress\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/memberpressplugin\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/MemberPressPlugin\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/memberpress\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/\",\"name\":\"Nikola M\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/1edf820c48f9c430f380efe81887b154.jpg?ver=1775745920\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/\",\"name\":\"Developer Tools Actions | MemberPress\",\"description\":\"Overview General Me Webhooks Subscribe Webhooks Unsubscribe Subscriptions Get Subscriptions Get Subscription Create Subscription Update Subscription Delete Subscription Cancel Subscription Expire Subscription Members Get Members Get Member Create Member Update Member Delete Member Rules Get Rules Get Rule Create Rule Update Rule Delete Rule Memberships Get Memberships Get Membership Create Membership Update Membership Delete Membership\",\"inLanguage\":\"de-DE\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/developer-tools-actions\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"datePublished\":\"2024-02-13T07:49:17-05:00\",\"dateModified\":\"2024-02-13T17:18:48-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"de-DE\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Developer Tools Actions | MemberPress<\/title>\n\n","aioseo_head_json":{"title":"Entwicklerwerkzeuge Aktionen | MemberPress","description":"\u00dcbersicht Allgemeines Ich Webhooks abonnieren Webhooks abbestellen Abonnements bekommen Abonnements bekommen Abonnement erstellen Abonnement aktualisieren Abonnement l\u00f6schen Abonnement k\u00fcndigen Abonnement ablaufen Mitglieder bekommen Mitglieder bekommen Mitglied erstellen Mitglied aktualisieren Mitglied l\u00f6schen Mitglied Regeln bekommen Regeln bekommen Regel erstellen Regel aktualisieren Regel l\u00f6schen Mitgliedschaften bekommen Mitgliedschaften bekommen Mitgliedschaft erstellen Mitgliedschaft aktualisieren Mitgliedschaft l\u00f6schen Mitgliedschaft","canonical_url":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#article","name":"Developer Tools Actions | MemberPress","headline":"Developer Tools Actions","author":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/de\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/de\/#articleImage","width":1650,"height":1275,"caption":"memberpress logo icon"},"datePublished":"2024-02-13T07:49:17-05:00","dateModified":"2024-02-13T17:18:48-05:00","inLanguage":"de-DE","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#webpage"},"articleSection":"Developer Tools"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/de","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/#listItem","name":"Advanced Topics"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/#listItem","position":2,"name":"Advanced Topics","item":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/developer-tools\/#listItem","name":"Developer Tools"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/developer-tools\/#listItem","position":3,"name":"Developer Tools","item":"https:\/\/memberpress.com\/de\/doc-categories\/developer-tools\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#listItem","name":"Developer Tools Actions"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/#listItem","name":"Advanced Topics"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#listItem","position":4,"name":"Developer Tools Actions","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/developer-tools\/#listItem","name":"Developer Tools"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/de\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/de\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/memberpress\/","https:\/\/www.pinterest.com\/memberpressplugin\/","https:\/\/www.youtube.com\/c\/MemberPressPlugin","https:\/\/www.linkedin.com\/company\/memberpress\/"]},{"@type":"Person","@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author","url":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/","name":"Nikola M","image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/1edf820c48f9c430f380efe81887b154.jpg?ver=1775745920"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#webpage","url":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/","name":"Developer Tools Actions | MemberPress","description":"Overview General Me Webhooks Subscribe Webhooks Unsubscribe Subscriptions Get Subscriptions Get Subscription Create Subscription Update Subscription Delete Subscription Cancel Subscription Expire Subscription Members Get Members Get Member Create Member Update Member Delete Member Rules Get Rules Get Rule Create Rule Update Rule Delete Rule Memberships Get Memberships Get Membership Create Membership Update Membership Delete Membership","inLanguage":"de-DE","isPartOf":{"@id":"https:\/\/memberpress.com\/de\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author"},"datePublished":"2024-02-13T07:49:17-05:00","dateModified":"2024-02-13T17:18:48-05:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/de\/#website","url":"https:\/\/memberpress.com\/de\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"de-DE","publisher":{"@id":"https:\/\/memberpress.com\/de\/#organization"}}]},"og:locale":"de_DE","og:site_name":"MemberPress","og:type":"article","og:title":"Developer Tools Actions | MemberPress","og:description":"Overview General Me Webhooks Subscribe Webhooks Unsubscribe Subscriptions Get Subscriptions Get Subscription Create Subscription Update Subscription Delete Subscription Cancel Subscription Expire Subscription Members Get Members Get Member Create Member Update Member Delete Member Rules Get Rules Get Rule Create Rule Update Rule Delete Rule Memberships Get Memberships Get Membership Create Membership Update Membership Delete Membership","og:url":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:width":1650,"og:image:height":1275,"article:published_time":"2024-02-13T12:49:17+00:00","article:modified_time":"2024-02-13T22:18:48+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"Developer Tools Actions | MemberPress","twitter:description":"Overview General Me Webhooks Subscribe Webhooks Unsubscribe Subscriptions Get Subscriptions Get Subscription Create Subscription Update Subscription Delete Subscription Cancel Subscription Expire Subscription Members Get Members Get Member Create Member Update Member Delete Member Rules Get Rules Get Rule Create Rule Update Rule Delete Rule Memberships Get Memberships Get Membership Create Membership Update Membership Delete Membership","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg"},"aioseo_meta_data":{"post_id":"61642","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2025-10-09 21:43:26","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"ai":null,"created":"2024-02-13 12:49:18","updated":"2026-03-03 14:53:49"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/\" title=\"Advanced Topics\">Advanced Topics<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\/doc-categories\/developer-tools\/\" title=\"Developer Tools\">Developer Tools<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tDeveloper Tools Actions\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/de"},{"label":"Advanced Topics","link":"https:\/\/memberpress.com\/de\/doc-categories\/advanced-topics\/"},{"label":"Developer Tools","link":"https:\/\/memberpress.com\/de\/doc-categories\/developer-tools\/"},{"label":"Developer Tools Actions","link":"https:\/\/memberpress.com\/de\/docs\/developer-tools-actions\/"}],"_links":{"self":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb\/61642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/users\/62252"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/comments?post=61642"}],"version-history":[{"count":0,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb\/61642\/revisions"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/media?parent=61642"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb-category?post=61642"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=61642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}