{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/recurring/subscriptions","auth":"optional","settings":"","results":{"codes":[{"code":"","language":"text"}]},"method":"post","examples":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Create Subscription","type":"endpoint","slug":"create-subscription","excerpt":"","body":"The Create Subscription request enables you to set up a subscription, which associates a shopper with a plan to bill on an ongoing basis.\n\nFor more information about working with subscriptions, see the [Subscriptions tutorial](doc:subscription-management#section-tutorial-subscriptions).\n[block:callout]\n{\n \"type\": \"success\",\n \"body\": \"After creating a subscription in sandbox, you can simulate a recurring charge event and trigger associated IPNs, emails, and invoices. Visit the [Subscriptions Guide](doc:subscription-management#section-testing-your-subscriptions) to learn how.\",\n \"title\": \"Testing subscription charges in sandbox\"\n}\n[/block]\n<a class=\"btn btn-success\" href=\"#section-api-explorer\" role=\"button\">Try it in the API Explorer</a>\n\n###Request Content\n`recurring-subscription` *container* <span style=\"color:#F37500\">** required**</span>, contains the following properties (see [recurring-subscription](doc:recurring-subscription)):\n `plan-id` *integer* <span style=\"color:#F37500\">**required**</span>\n `vendors-info` *container* optional (see [vendors-info](doc:vendors-info))\n `vaulted-shopper-id` *integer* optional - do not include if sending `payer-info`\n `payer-info` *container* optional - do not include if sending `vaulted-shopper-id` (see [payer-info](doc:payer-info))\n `payment-source` *container* <span style=\"color:#F37500\">**required** for `payer-info`</span>; optional for `vaulted-shopper-id` (see [payment-source](doc:payment-source))\n `quantity` *integer* optional\n `soft-descriptor` *string* optional\n `descriptor-phone-number` *string* optional\n `authorized-by-shopper` *boolean* <span style=\"color:#F37500\">**required**</span> for ACH/ECP and SEPA Direct Debit value must be **true**\n `override-trial-period-days` *integer* optional\n `override-recurring-charge-amount` *decimal* optional\n `override-initial-charge-amount` *decimal* optional\n `three-d-secure` *container* optional (see [three-d-secure](doc:three-d-secure))\n `transaction-fraud-info` *container* optional (see [transaction-fraud-info](doc:transaction-fraud-info))\n `level-3-data` *container* optional (see [level-3-data](doc:level-3-data)) \n `initial-tax-reference` *string* optional\n `recurring-tax-reference` *string* optional\n\n###Response Details\nIf successful, the response HTTP status code is 200 OK.\nThe response body contains the [recurring-subscription](doc:recurring-subscription) resource. \nThe `subscription-id` appears in the response body and the location header (unless ACH or SEPA DD was used).\n\n<hr>\n\n##Examples\n\n###Request Examples \n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2283845</plan-id>\\n <payer-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <credit-card>\\n <card-number>4111111111111111</card-number>\\n <security-code>111</security-code>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year> \\n </credit-card> \\n </credit-card-info>\\n </payment-source>\\n <transaction-fraud-info>\\n <fraud-session-id>1234</fraud-session-id>\\n </transaction-fraud-info>\\n</recurring-subscription>'\",\n \"language\": \"curl\",\n \"name\": \"Create Subscription Request: with new shopper\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2283845</plan-id>\\n <vaulted-shopper-id>20769005</vaulted-shopper-id>\\n <quantity>2</quantity>\\n <soft-descriptor>Merchant name</soft-descriptor>\\n <override-trial-period-days>10</override-trial-period-days>\\n <override-recurring-charge-amount>29.99</override-recurring-charge-amount>\\n <override-initial-charge-amount>10.5</override-initial-charge-amount>\\n <transaction-fraud-info>\\n <fraud-session-id>1234</fraud-session-id>\\n <shopper-ip-address>123.12.134.1</shopper-ip-address>\\n <company>Company Name</company>\\n <shipping-contact-info>\\n <last-name>John</last-name>\\n <first-name>Doe</first-name>\\n <country>US</country>\\n <state>AK</state>\\n <city>Juneau</city>\\n <address1>1 Main St</address1>\\n <address2>Apt 2</address2>\\n <zip>12345</zip>\\n </shipping-contact-info>\\n </transaction-fraud-info>\\n</recurring-subscription>'\",\n \"language\": \"curl\",\n \"name\": \"with vaulted shopper and optional fields\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2283845</plan-id>\\n <vaulted-shopper-id>20769005</vaulted-shopper-id>\\n <payment-source>\\n <credit-card-info>\\n <credit-card>\\n <card-last-four-digits>9299</card-last-four-digits>\\n <card-type>VISA</card-type>\\n </credit-card> \\n </credit-card-info>\\n </payment-source>\\n</recurring-subscription>'\",\n \"language\": \"curl\",\n \"name\": \"with vaulted shopper and specific payment method\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2186278</plan-id>\\n <payer-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <pf-token>339110a75e2cdbb5f5f2cea8d7cd8af261ad7c89fb0ce1aae_</pf-token>\\n </payment-source>\\n</recurring-subscription>'\",\n \"language\": \"curl\",\n \"name\": \"with new shopper and hosted payment fields\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2283845</plan-id>\\n <vendors-info>\\n <vendor-info>\\n <vendor-id>10398032</vendor-id>\\n </vendor-info>\\n </vendors-info> \\n <payer-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <credit-card>\\n <card-number>4111111111111111</card-number>\\n <security-code>111</security-code>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year> \\n </credit-card> \\n </credit-card-info>\\n </payment-source>\\n <transaction-fraud-info>\\n <fraud-session-id>1234</fraud-session-id>\\n </transaction-fraud-info>\\n</recurring-subscription>'\",\n \"language\": \"curl\",\n \"name\": \"with new shopper and vendors info\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2283845</plan-id>\\n <payment-source>\\n <wallet>\\n <wallet-type>APPLE_PAY</wallet-type>\\n <encoded-payment-token>eyJ0b2tlbiI6eyJwYXltZW50RGF0YSI6ey...\\n </encoded-payment-token>\\n </wallet>\\n </payment-source>\\n</recurring-subscription>'\",\n \"language\": \"curl\",\n \"name\": \"with Apple Pay\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2283845</plan-id>\\n <authorized-by-shopper>true</authorized-by-shopper>\\n <payer-info>\\n <first-name>John</first-name> \\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n <country>fr</country>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <sepa-direct-debit-info>\\n <sepa-direct-debit>\\n <iban>DE09100100101234567893</iban>\\n </sepa-direct-debit>\\n </sepa-direct-debit-info>\\n </payment-source>\\n</recurring-subscription>'\",\n \"language\": \"curl\",\n \"name\": \"with SEPA Direct Debit \"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2380391</plan-id>\\n <authorized-by-shopper>true</authorized-by-shopper>\\n <payer-info>\\n <first-name>Jane</first-name>\\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n <country>us</country>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <ecp-info>\\n <ecp>\\n <account-number>4099999992</account-number>\\n <routing-number>011075150</routing-number>\\n <account-type>CONSUMER_CHECKING</account-type>\\n </ecp>\\n </ecp-info>\\n </payment-source>\\n</recurring-subscription>'\",\n \"language\": \"curl\",\n \"name\": \"wtih ACH/ECP\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2283845</plan-id>\\n <payment-source>\\n <wallet>\\n <wallet-type>GOOGLE_PAY</wallet-type>\\n <encoded-payment-token>eyJwYXltZW50TWV0aG9kVG9rZW4iOnsidG99</encoded-payment-token>\\n </wallet>\\n </payment-source>\\n</recurring-subscription>'\",\n \"language\": \"curl\",\n \"name\": \"with Google Pay\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2205010</plan-id>\\n <payer-info>\\n <first-name>PIFirst-name</first-name>\\n <last-name>PILast-name</last-name>\\n <zip>PIZip</zip>\\n <email>tt:::at:::gmail.com</email>\\n <country>us</country>\\n <address>PIaddress1</address>\\n <address2>PIaddress2</address2>\\n <city>PICity</city>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <credit-card>\\n <card-number>5555555555554444</card-number>\\n <card-type>MASTERCARD</card-type>\\n <security-code>111</security-code>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year> \\n </credit-card>\\n <billing-contact-info>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <country>us</country>\\n <first-name>BiFirst-name</first-name >\\n <last-name >BiLast-name</last-name >\\n <state>CA</state>\\n <zip>BiZip</zip>\\n </billing-contact-info>\\n </credit-card-info>\\n </payment-source>\\n <transaction-fraud-info>\\n <fraud-session-id>1234</fraud-session-id>\\n </transaction-fraud-info>\\n</recurring-subscription>'\\n\",\n \"language\": \"curl\",\n \"name\": \"New shopper with different billing\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <country>us</country>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n </billing-contact-info>\\n <credit-card>\\n <card-number>5555555555554444</card-number>\\n <cardType>MASTERCARD</cardType>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <security-code>111</security-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19641522</vaulted-shopper-id>\\n</recurring-subscription>'\\n\",\n \"language\": \"curl\",\n \"name\": \"Vaulted shopper with billing\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <payer-info>\\n <address>PIaddress1</address>\\n <address2>PIaddress2</address2>\\n <city>PICity</city>\\n <country>il</country>\\n <email>[email protected]</email>\\n <first-name>PIFirst-name</first-name>\\n <last-name>PILast-name</last-name>\\n <zip>PIZip</zip>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <country>us</country>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n </billing-contact-info>\\n <pf-token>c72486e81b9e12704f02f097c9536cda9097868247d3c287172e03e045efb19a_</pf-token>\\n </credit-card-info>\\n </payment-source>\\n <plan-id>2205010</plan-id>\\n</recurring-subscription>'\\n\",\n \"language\": \"curl\",\n \"name\": \"New shopper with hosted fields and different billing\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <country>us</country>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n </billing-contact-info>\\n <pf-token>50fe35c1f5d916f638aa7535531c0f8da64bbe1142e877008283c81ce9e11a80_</pf-token>\\n </credit-card-info>\\n </payment-source>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19641506</vaulted-shopper-id> \\n</recurring-subscription>'\\n\",\n \"language\": \"curl\",\n \"name\": \"Vaulted shopper with hosted fields and different billing\"\n },\n {\n \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2190390</plan-id>\\n <vaulted-shopper-id>19574268</vaulted-shopper-id>\\n <three-d-secure>\\n\\t\\t<three-d-secure-reference-id>4911</three-d-secure-reference-id>\\n </three-d-secure>\\n</recurring-subscription>\",\n \"language\": \"curl\",\n \"name\": \"with 3DS ID\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n###Response Examples \n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"HTTP/ 1.1 200 OK\\n\\n<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <subscription-id>8492717</subscription-id>\\n <plan-id>2283845</plan-id>\\n <vaulted-shopper-id>21188909</vaulted-shopper-id>\\n <status>ACTIVE</status>\\n <quantity>1</quantity>\\n <soft-descriptor>BLS*default_descriptor</soft-descriptor>\\n <charge-frequency>MONTHLY</charge-frequency>\\n <trial-period-days>14</trial-period-days>\\n <recurring-charge-amount>29.99</recurring-charge-amount>\\n <currency>USD</currency>\\n <initial-charge-amount>100.00</initial-charge-amount>\\n <auto-renew>true</auto-renew>\\n <next-charge-date>2021-08-16</next-charge-date>\\n <payer-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <card-sub-type>CREDIT</card-sub-type>\\n <card-category>CLASSIC</card-category>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge>\\n <charge-id>12117877</charge-id>\\n <subscription-id>8492717</subscription-id>\\n <plan-id>2283845</plan-id>\\n <vaulted-shopper-id>21188909</vaulted-shopper-id>\\n <transaction-id>1012463333</transaction-id>\\n <transaction-date>2021-08-02</transaction-date>\\n <amount>100.00</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*default_descriptor</soft-descriptor>\\n <payment-source>\\n <credit-card-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <card-sub-type>CREDIT</card-sub-type>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge-info>\\n <from-date>2021-08-02</from-date>\\n <to-date>2021-08-16</to-date>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n </charge>\\n <fraud-result-info>\\n <device-data-collector>Y</device-data-collector>\\n </fraud-result-info>\\n</recurring-subscription>\",\n \"language\": \"xml\",\n \"name\": \"200 OK Response: Create Subscription\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <subscription-id>39565914</subscription-id>\\n <plan-id>2200594</plan-id>\\n <vaulted-shopper-id>19608696</vaulted-shopper-id>\\n <status>ACTIVE</status>\\n <quantity>1</quantity>\\n <soft-descriptor>BLS*default_descriptor</soft-descriptor>\\n <charge-frequency>MONTHLY</charge-frequency>\\n <recurring-charge-amount>29.99</recurring-charge-amount>\\n <currency>USD</currency>\\n <auto-renew>true</auto-renew>\\n <next-charge-date>2021-04-16</next-charge-date>\\n <payer-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <wallet>\\n <wallet-type>APPLE_PAY</wallet-type>\\n <billing-contact-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <address1>South St</address1>\\n <city>Waltham</city>\\n <state>MA</state>\\n <zip>02453</zip>\\n </billing-contact-info>\\n <tokenized-card>\\n <dpan-expiration-month>11</dpan-expiration-month>\\n <dpan-expiration-year>2025</dpan-expiration-year>\\n <dpan-last-four-digits>9197</dpan-last-four-digits>\\n <card-last-four-digits>0492</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <card-sub-type>DEBIT</card-sub-type>\\n <card-category>CLASSIC</card-category>\\n <bin-category>CONSUMER</bin-category>\\n <card-regulated>N</card-regulated>\\n <issuing-country-code>us</issuing-country-code>\\n </tokenized-card>\\n </wallet>\\n </payment-source>\\n <charge>\\n <charge-id>235835</charge-id>\\n <subscription-id>39565914</subscription-id>\\n <plan-id>2200594</plan-id>\\n <vaulted-shopper-id>19608696</vaulted-shopper-id>\\n <transaction-id>38548964</transaction-id>\\n <transaction-date>2019-03-16</transaction-date>\\n <amount>29.99</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*default_descriptor</soft-descriptor>\\n <payment-source>\\n <wallet>\\n <wallet-type>APPLE_PAY</wallet-type>\\n <billing-contact-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <address1>South St</address1>\\n <city>Waltham</city>\\n <state>MA</state>\\n <zip>02453</zip>\\n </billing-contact-info>\\n <tokenized-card>\\n <dpan-expiration-month>11</dpan-expiration-month>\\n <dpan-expiration-year>2025</dpan-expiration-year>\\n <dpan-last-four-digits>9197</dpan-last-four-digits>\\n <card-last-four-digits>0492</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <card-sub-type>DEBIT</card-sub-type>\\n <card-category>CLASSIC</card-category>\\n <bin-category>CONSUMER</bin-category>\\n <card-regulated>N</card-regulated>\\n <issuing-country-code>us</issuing-country-code>\\n </tokenized-card>\\n </wallet>\\n </payment-source>\\n <charge-info>\\n <from-date>2021-03-16</from-date>\\n <to-date>2021-04-16</to-date>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n </charge>\\n</recurring-subscription>\\n\",\n \"language\": \"xml\",\n \"name\": \"with Apple Pay\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2436197</plan-id>\\n <vaulted-shopper-id>21846521</vaulted-shopper-id>\\n <soft-descriptor>Oooops LTD</soft-descriptor>\\n <payer-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <country>fr</country>\\n <zip>12345</zip>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <sepa-direct-debit-info>\\n <sepa-direct-debit>\\n <iban-first-four>DE09</iban-first-four>\\n <iban-last-four>7893</iban-last-four>\\n <mandate-id>Ooo156577</mandate-id>\\n <mandate-date>01-Aug-17</mandate-date>\\n <pre-notification-text>The amount of 29.99 EUR will be collected using SEPA Direct Debit with Mandate Ooo156577 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>\\n </sepa-direct-debit>\\n </sepa-direct-debit-info>\\n </payment-source>\\n <charge>\\n <plan-id>2436197</plan-id>\\n <vaulted-shopper-id>21846521</vaulted-shopper-id>\\n <transaction-id>1011278923</transaction-id>\\n <transaction-date>2017-08-01</transaction-date>\\n <amount>29.99</amount>\\n <currency>EUR</currency>\\n <soft-descriptor>Oooops LTD</soft-descriptor>\\n <payment-source>\\n <sepa-direct-debit-info>\\n <sepa-direct-debit>\\n <iban-first-four>DE09</iban-first-four>\\n <iban-last-four>7893</iban-last-four>\\n <mandate-id>Ooo156577</mandate-id>\\n <mandate-date>01-Aug-19</mandate-date>\\n <pre-notification-text>The amount of 29.99 EUR will be collected using SEPA Direct Debit with Mandate Ooo156577 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>\\n </sepa-direct-debit>\\n </sepa-direct-debit-info>\\n </payment-source>\\n <processing-info>\\n <processing-status>PENDING</processing-status>\\n </processing-info>\\n </charge>\\n</recurring-subscription>\",\n \"language\": \"xml\",\n \"name\": \"with SEPA Direct Debit\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2380391</plan-id>\\n <vaulted-shopper-id>22331787</vaulted-shopper-id>\\n <soft-descriptor>default_descriptor</soft-descriptor>\\n <payer-info>\\n <first-name>Jane</first-name>\\n <last-name>Doe</last-name>\\n <country>us</country>\\n <zip>12345</zip>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <ecp-info>\\n <ecp>\\n <account-number>4099999992</account-number>\\n <routing-number>011075150</routing-number>\\n <account-type>CONSUMER_CHECKING</account-type>\\n </ecp>\\n </ecp-info>\\n </payment-source>\\n <charge>\\n <plan-id>2380391</plan-id>\\n <vaulted-shopper-id>22331787</vaulted-shopper-id>\\n <transaction-id>1015616051</transaction-id>\\n <transaction-date>2019-01-26</transaction-date>\\n <amount>65.00</amount>\\n <currency>USD</currency>\\n <soft-descriptor>default_descriptor</soft-descriptor>\\n <payment-source>\\n <ecp-info>\\n <ecp>\\n <account-number>4099999992</account-number>\\n <routing-number>011075150</routing-number>\\n <account-type>CONSUMER_CHECKING</account-type>\\n </ecp>\\n </ecp-info>\\n </payment-source>\\n <charge-info>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n <processing-info>\\n <processing-status>PENDING</processing-status>\\n </processing-info>\\n </charge>\\n</recurring-subscription>\",\n \"language\": \"xml\",\n \"name\": \"with ACH/ECP\"\n },\n {\n \"code\": \"<card-transaction>\\n <autoRenew>true</autoRenew>\\n <charge>\\n <amount>1.99</amount>\\n <chargeId>250389</chargeId>\\n <chargeInfo>\\n <chargeType>INITIAL</chargeType>\\n <fromDate>2018-09-05</fromDate>\\n <toDate>2018-10-05</toDate>\\n </chargeInfo>\\n <currency>USD</currency>\\n <paymentSource>\\n <creditCardInfo>\\n <creditCard>\\n <cardCategory>CLASSIC</cardCategory>\\n <cardLastFourDigits>1111</cardLastFourDigits>\\n <cardSubType>CREDIT</cardSubType>\\n <cardType>VISA</cardType>\\n <expirationMonth>09</expirationMonth>\\n <expirationYear>2023</expirationYear>\\n </creditCard>\\n </creditCardInfo>\\n </paymentSource>\\n <planId>2203980</planId>\\n <processingInfo>\\n <processingStatus>SUCCESS</processingStatus>\\n </processingInfo>\\n <softDescriptor>BLS</softDescriptor>\\n <subscriptionId>39594120</subscriptionId>\\n <transactionDate>2019-09-05</transactionDate>\\n <transactionId>38589782</transactionId>\\n <vaultedShopperId>19637272</vaultedShopperId>\\n </charge>\\n <chargeFrequency>MONTHLY</chargeFrequency>\\n <currency>USD</currency>\\n <fraudResultInfo>\\n <deviceDataCollector>N</deviceDataCollector>\\n </fraudResultInfo>\\n <nextChargeDate>2019-10-05</nextChargeDate>\\n <payerInfo>\\n <address>32 some street</address>\\n <city>some city</city>\\n <country>us</country>\\n <email>test&#x40;gmail.com</email>\\n <firstName>test first name</firstName>\\n <lastName>test last name</lastName>\\n <phone>456276576</phone>\\n <state>MA</state>\\n <zip>\\n <element>12345</element>\\n <element>02186</element>\\n </zip>\\n </payerInfo>\\n <paymentSource>\\n <creditCardInfo>\\n <billingContactInfo>\\n <address>32 some street</address>\\n <city>some city</city>\\n <country>us</country>\\n <firstName>test first name</firstName>\\n <lastName>test last name</lastName>\\n <state>MA</state>\\n <zip>\\n <element>123456</element>\\n <element>02186</element>\\n </zip>\\n </billingContactInfo>\\n <creditCard>\\n <cardCategory>CLASSIC</cardCategory>\\n <cardLastFourDigits>1111</cardLastFourDigits>\\n <cardSubType>CREDIT</cardSubType>\\n <cardType>VISA</cardType>\\n <expirationMonth>09</expirationMonth>\\n <expirationYear>2023</expirationYear>\\n </creditCard>\\n </creditCardInfo>\\n </paymentSource>\\n <planId>2203980</planId>\\n <quantity>1</quantity>\\n <recurringChargeAmount>1.99</recurringChargeAmount>\\n <softDescriptor>BLS</softDescriptor>\\n <status>ACTIVE</status>\\n <subscriptionId>39594120</subscriptionId>\\n <vaultedShopperId>19637272</vaultedShopperId>\\n</card-transaction>\",\n \"language\": \"xml\",\n \"name\": \"with Google Pay\"\n },\n {\n \"code\": \"<card-transaction>\\n <amount>11</amount>\\n <cardHolderInfo>\\n <country>us</country>\\n <firstName>test first name</firstName>\\n <lastName>test last name</lastName>\\n <zip>123456</zip>\\n </cardHolderInfo>\\n <cardTransactionType>AUTH_ONLY</cardTransactionType>\\n <currency>USD</currency>\\n <processingInfo>\\n <processingStatus>success</processingStatus>\\n </processingInfo>\\n <recurringTransaction>ECOMMERCE</recurringTransaction>\\n <softDescriptor>BLS&#x2a;DescTest</softDescriptor>\\n <transactionId>1012751937</transactionId>\\n <vaultedShopperId>21289371</vaultedShopperId>\\n <wallet>\\n <billingContactInfo>\\n <country>us</country>\\n <firstName>test first name</firstName>\\n <lastName>test last name</lastName>\\n <zip>12345</zip>\\n </billingContactInfo>\\n <tokenizedCard>\\n <cardLastFourDigits>1111</cardLastFourDigits>\\n <cardSubType>CREDIT</cardSubType>\\n <cardType>VISA</cardType>\\n <dpanExpirationMonth>9</dpanExpirationMonth>\\n <dpanExpirationYear>2023</dpanExpirationYear>\\n <dpanLastFourDigits>2222</dpanLastFourDigits>\\n </tokenizedCard>\\n <walletType>GOOGLE_PAY</walletType>\\n </wallet>\\n</card-transaction>\",\n \"language\": \"xml\",\n \"name\": \"with Google Pay (tokenized card)\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <subscription-id>39600216</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19643286</vaulted-shopper-id>\\n <status>ACTIVE</status>\\n <quantity>1</quantity>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <charge-frequency>MONTHLY</charge-frequency>\\n <recurring-charge-amount>1.99</recurring-charge-amount>\\n <currency>USD</currency>\\n <auto-renew>true</auto-renew>\\n <next-charge-date>2019-04-05</next-charge-date>\\n <payer-info>\\n <first-name>PIFirst-name</first-name>\\n <last-name>PILast-name</last-name>\\n <email>tt@gmail.com</email>\\n <country>us</country>\\n <address>PIaddress1</address>\\n <address2>PIaddress2</address2>\\n <city>PICity</city>\\n <zip>PIZip</zip>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>4444</card-last-four-digits>\\n <card-type>MASTERCARD</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <card-regulated>N</card-regulated>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <issuing-country-code>BR</issuing-country-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge>\\n <charge-id>251829</charge-id>\\n <subscription-id>39600216</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19643286</vaulted-shopper-id>\\n <transaction-id>38599800</transaction-id>\\n <transaction-date>2019-03-05</transaction-date>\\n <amount>1.99</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>4444</card-last-four-digits>\\n <card-type>MASTERCARD</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge-info>\\n <from-date>2019-03-05</from-date>\\n <to-date>2019-04-05</to-date>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n <processing-info>\\n <processing-status>SUCCESS</processing-status>\\n </processing-info>\\n </charge>\\n <fraud-result-info>\\n <device-data-collector>N</device-data-collector>\\n </fraud-result-info>\\n</recurring-subscription>\\n\",\n \"language\": \"xml\",\n \"name\": \"New shopper with different billing\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <subscription-id>39600220</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19641522</vaulted-shopper-id>\\n <status>ACTIVE</status>\\n <quantity>1</quantity>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <charge-frequency>MONTHLY</charge-frequency>\\n <recurring-charge-amount>1.99</recurring-charge-amount>\\n <currency>USD</currency>\\n <auto-renew>true</auto-renew>\\n <next-charge-date>2019-04-05</next-charge-date>\\n <payer-info>\\n <first-name>Shevie</first-name>\\n <last-name>Chen</last-name>\\n <country>us</country>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>4444</card-last-four-digits>\\n <card-type>MASTERCARD</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <card-regulated>N</card-regulated>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <issuing-country-code>BR</issuing-country-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge>\\n <charge-id>251837</charge-id>\\n <subscription-id>39600220</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19641522</vaulted-shopper-id>\\n <transaction-id>38599808</transaction-id>\\n <transaction-date>2019-03-05</transaction-date>\\n <amount>1.99</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>4444</card-last-four-digits>\\n <card-type>MASTERCARD</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge-info>\\n <from-date>2019-03-05</from-date>\\n <to-date>2019-04-05</to-date>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n <processing-info>\\n <processing-status>SUCCESS</processing-status>\\n </processing-info>\\n </charge>\\n <fraud-result-info>\\n <device-data-collector>N</device-data-collector>\\n </fraud-result-info>\\n</recurring-subscription>\\n\",\n \"language\": \"xml\",\n \"name\": \"Vaulted shopper with billing\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <subscription-id>39600222</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19643290</vaulted-shopper-id>\\n <status>ACTIVE</status>\\n <quantity>1</quantity>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <charge-frequency>MONTHLY</charge-frequency>\\n <recurring-charge-amount>1.99</recurring-charge-amount>\\n <currency>USD</currency>\\n <auto-renew>true</auto-renew>\\n <next-charge-date>2019-04-05</next-charge-date>\\n <payer-info>\\n <first-name>PIFirst-name</first-name>\\n <last-name>PILast-name</last-name>\\n <email>tt@gmail.com</email>\\n <country>il</country>\\n <address>PIaddress1</address>\\n <address2>PIaddress2</address2>\\n <city>PICity</city>\\n <zip>PIZip</zip>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <card-regulated>Y</card-regulated>\\n <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>\\n <expiration-month>11</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <issuing-country-code>US</issuing-country-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge>\\n <charge-id>251847</charge-id>\\n <subscription-id>39600222</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19643290</vaulted-shopper-id>\\n <transaction-id>38599818</transaction-id>\\n <transaction-date>2019-03-05</transaction-date>\\n <amount>1.99</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <expiration-month>11</expiration-month>\\n <expiration-year>2023</expiration-year>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge-info>\\n <from-date>2019-03-05</from-date>\\n <to-date>2019-04-05</to-date>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n <processing-info>\\n <processing-status>SUCCESS</processing-status>\\n </processing-info>\\n </charge>\\n <fraud-result-info>\\n <device-data-collector>N</device-data-collector>\\n </fraud-result-info>\\n</recurring-subscription>\\n\",\n \"language\": \"xml\",\n \"name\": \"New shopper with hosted fields and different billing\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <subscription-id>39600224</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19641146</vaulted-shopper-id>\\n <status>ACTIVE</status>\\n <quantity>1</quantity>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <charge-frequency>MONTHLY</charge-frequency>\\n <recurring-charge-amount>1.99</recurring-charge-amount>\\n <currency>USD</currency>\\n <auto-renew>true</auto-renew>\\n <next-charge-date>2019-04-05</next-charge-date>\\n <payer-info>\\n <first-name>Shevie</first-name>\\n <last-name>Chen</last-name>\\n <email>sdk_test1@gmail.com</email>\\n <country>il</country>\\n <phone>1800123456789</phone>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <card-regulated>Y</card-regulated>\\n <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>\\n <expiration-month>11</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <issuing-country-code>US</issuing-country-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge>\\n <charge-id>251849</charge-id>\\n <subscription-id>39600224</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19641146</vaulted-shopper-id>\\n <transaction-id>38599820</transaction-id>\\n <transaction-date>2019-03-05</transaction-date>\\n <amount>1.99</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <expiration-month>11</expiration-month>\\n <expiration-year>2023</expiration-year>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge-info>\\n <from-date>2019-03-05</from-date>\\n <to-date>2019-04-05</to-date>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n <processing-info>\\n <processing-status>SUCCESS</processing-status>\\n </processing-info>\\n </charge>\\n <fraud-result-info>\\n <device-data-collector>N</device-data-collector>\\n </fraud-result-info> \\n</recurring-subscription>\\n\",\n \"language\": \"xml\",\n \"name\": \"Vaulted shopper with hosted fields and different billing\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2190390</plan-id>\\n <vaulted-shopper-id>19574268</vaulted-shopper-id>\\n <soft-descriptor>BLS*BS</soft-descriptor>\\n <payer-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <email>jdoe@johndoeandsons.com</email>\\n <country>us</country>\\n <state>CA</state>\\n <address>138 Market St</address>\\n <city>San Francisco</city>\\n <zip>75654</zip>\\n <phone>14135556789</phone>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <address1>138 Market St</address1>\\n <city>San Francisco</city>\\n <state>CA</state>\\n <zip>75654</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <card-sub-type>CREDIT</card-sub-type>\\n <bin-category>CONSUMER</bin-category>\\n <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>\\n <expiration-month>09</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <issuing-country-code>us</issuing-country-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge>\\n <plan-id>2190390</plan-id>\\n <vaulted-shopper-id>19574268</vaulted-shopper-id>\\n <transaction-id>38510940</transaction-id>\\n <transaction-date>2019-07-24</transaction-date>\\n <amount>10.00</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*BS</soft-descriptor>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <address1>138 Market St</address1>\\n <city>San Francisco</city>\\n <state>CA</state>\\n <zip>75654</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <card-sub-type>CREDIT</card-sub-type>\\n <bin-category>CONSUMER</bin-category>\\n <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>\\n <expiration-month>09</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <issuing-country-code>us</issuing-country-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge-info>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n <processing-info>\\n <processing-status>SUCCESS</processing-status>\\n </processing-info>\\n </charge>\\n <fraud-result-info>\\n <device-data-collector>N</device-data-collector>\\n </fraud-result-info>\\n <three-d-secure>\\n <authentication-result>AUTHENTICATION_SUCCEEDED</authentication-result>\\n </three-d-secure>\\n</recurring-subscription>\",\n \"language\": \"xml\",\n \"name\": \"with 3DS ID\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <subscription-id>39600216</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19643286</vaulted-shopper-id>\\n <status>ACTIVE</status>\\n <quantity>1</quantity>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <charge-frequency>MONTHLY</charge-frequency>\\n <recurring-charge-amount>1.99</recurring-charge-amount>\\n <currency>USD</currency>\\n <auto-renew>true</auto-renew>\\n <next-charge-date>2019-04-05</next-charge-date>\\n <payer-info>\\n <first-name>PIFirst-name</first-name>\\n <last-name>PILast-name</last-name>\\n <email>tt@gmail.com</email>\\n <country>us</country>\\n <address>PIaddress1</address>\\n <address2>PIaddress2</address2>\\n <city>PICity</city>\\n <zip>PIZip</zip>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>4444</card-last-four-digits>\\n <card-type>MASTERCARD</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <card-regulated>N</card-regulated>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <issuing-country-code>BR</issuing-country-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge>\\n <charge-id>251829</charge-id>\\n <subscription-id>39600216</subscription-id>\\n <plan-id>2205010</plan-id>\\n <vaulted-shopper-id>19643286</vaulted-shopper-id>\\n <transaction-id>38599800</transaction-id>\\n <transaction-date>2019-03-05</transaction-date>\\n <amount>1.99</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*try</soft-descriptor>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>BiFirst-name</first-name>\\n <last-name>BiLast-name</last-name>\\n <address1>BiAddress1</address1>\\n <address2>BiAddress2</address2>\\n <city>BiCity</city>\\n <state>CA</state>\\n <zip>BiZip</zip>\\n <country>us</country>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>4444</card-last-four-digits>\\n <card-type>MASTERCARD</card-type>\\n <bin-category>CONSUMER</bin-category>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge-info>\\n <from-date>2019-03-05</from-date>\\n <to-date>2019-04-05</to-date>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n <processing-info>\\n <processing-status>SUCCESS</processing-status>\\n <authorization-code>654321</authorization-code>\\n <au\\n </processing-info>\\n </charge>\\n <fraud-result-info>\\n <device-data-collector>N</device-data-collector>\\n </fraud-result-info>\\n</recurring-subscription>\",\n \"language\": \"xml\",\n \"name\": \"with Authorization Code\"\n },\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <subscription-id>19752567</subscription-id>\\n <plan-id>2283845</plan-id>\\n <vaulted-shopper-id>27567999</vaulted-shopper-id>\\n <status>ACTIVE</status>\\n <quantity>1</quantity>\\n <soft-descriptor>BLS*default_descriptor</soft-descriptor>\\n <vendors-info>\\n <vendor-info>\\n <vendor-id>10398032</vendor-id>\\n <commission-percent>90.2</commission-percent>\\n </vendor-info>\\n </vendors-info>\\n <charge-frequency>MONTHLY</charge-frequency>\\n <trial-period-days>14</trial-period-days>\\n <recurring-charge-amount>29.99</recurring-charge-amount>\\n <currency>USD</currency>\\n <initial-charge-amount>100.00</initial-charge-amount>\\n <auto-renew>true</auto-renew>\\n <next-charge-date>2020-06-09</next-charge-date>\\n <payer-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <card-sub-type>CREDIT</card-sub-type>\\n <bin-category>CONSUMER</bin-category>\\n <card-regulated>Y</card-regulated>\\n <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <issuing-country-code>us</issuing-country-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge>\\n <charge-id>18319027</charge-id>\\n <subscription-id>19752567</subscription-id>\\n <plan-id>2283845</plan-id>\\n <vaulted-shopper-id>27567999</vaulted-shopper-id>\\n <transaction-id>1031082567</transaction-id>\\n <transaction-date>2020-05-26</transaction-date>\\n <amount>100.00</amount>\\n <currency>USD</currency>\\n <soft-descriptor>BLS*default_descriptor</soft-descriptor>\\n <payment-source>\\n <credit-card-info>\\n <billing-contact-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n </billing-contact-info>\\n <credit-card>\\n <card-last-four-digits>1111</card-last-four-digits>\\n <card-type>VISA</card-type>\\n <card-sub-type>CREDIT</card-sub-type>\\n <bin-category>CONSUMER</bin-category>\\n <card-regulated>Y</card-regulated>\\n <issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year>\\n <issuing-country-code>us</issuing-country-code>\\n </credit-card>\\n </credit-card-info>\\n </payment-source>\\n <charge-info>\\n <from-date>2020-05-26</from-date>\\n <to-date>2020-06-09</to-date>\\n <charge-type>INITIAL</charge-type>\\n </charge-info>\\n <processing-info>\\n <processing-status>SUCCESS</processing-status>\\n <authorization-code>654321</authorization-code>\\n </processing-info>\\n <vendors-info>\\n <vendor-info>\\n <vendor-id>10398032</vendor-id>\\n <commission-percent>90.2</commission-percent>\\n </vendor-info>\\n </vendors-info>\\n </charge>\\n <fraud-result-info/>\\n</recurring-subscription>\",\n \"language\": \"xml\",\n \"name\": \"with new shopper and vendors info\"\n }\n ],\n \"sidebar\": true\n}\n[/block]\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##Example Descriptions\n\n###Create Subscription: with new shopper\nThis example shows a basic Create Subscription request for a new shopper, with details about the shopper and their payment method. \n\n###Create Subscription: with vaulted shopper and optional fields\nThis example shows a Create Subscription request with an existing vaulted shopper who has only one saved payment method, so there is no need to specify which payment method to use.\n\nThis example request also includes all optional subscription fields, such as quantity, soft descriptor and the various override fields. The override values take precedence over the settings at the plan level, and they apply only to this subscription. \n\n###Create Subscription: with vaulted shopper and specific payment method\nThis example shows a Create Subscription request with an existing vaulted shopper who has multiple saved payment methods, so you must specify which payment method to use.\n\n### Create Subscription: with new shopper and Hosted Payment Fields\nThis example shows a Create Subscription request with a new shopper whose card information was collected using [Hosted Payment Fields](/v8976-Tools/docs/hosted-payment-fields). Include `pf-token` in the request with its value set to the Hosted Payment Fields token. \n\n### Create Subscription: with new shopper and vendors info\nThis example shows a Create Subscription request with a Marketplace vendor. Include `vendors-info` in the request to process a transaction involving one or more vendors. For more details, refer to the [Marketplace Guide](/docs/marketplace-overview).\n\n###Create Subscription: with Apple Pay \nThis example shows a Create Subscription request with an Apple Pay wallet. In the request, include the `encoded-payment-token` inside `payment-source` > `wallet`, also supply `wallet-type` of `APPLE_PAY` there. Refer to the [Apple Pay Guide](/docs/apple-pay#section-implementing-apple-pay-in-your-website-or-ios-app) for more information.\n\n**Note**: To test Apple Pay, follow the steps in the [Apple Pay Guide](/docs/apple-pay#section-implementing-apple-pay-in-your-website-or-ios-app). The API Explorer does not support Apple Pay testing. \n\n###Create Subscription: with SEPA Direct Debit\nThis example shows a Create Subscription request with a new shopper with the SEPA Direct Debit payment method. In the request, include `authorized-by-shopper` with a value set to **true** to indicate that you've collected the shopper's [mandate acceptance](/docs/sepa-direct-debit#section-step-1-collect-a-mandate-acceptance-from-your-shopper). Include the shopper's bank account details within `payment-source` > `sepa-direct-debit-info` > `sepa-direct-debit`. \n\n**Note:** `subscription-id` will not be returned in the response. The subscription ID will be created when the shopper's account is debited (typically within 5 - 6 business days). You will then be informed of the subscription ID via `Charge` webhook or via [Retrieve Specific Charge](doc:retrieve-specific-charge) request. \n\n###Create Subscription: with ACH/ECP\nThis example shows a Create Subscription request with a new shopper with the ACH/ECP payment method. In the request, include `authorized-by-shopper` with a value set to **true** to indicate that you've collected the shopper's permission to debit their account. Include the shopper's bank account details within `payment-source` > `ecp-info` > `ecp`. If you would like to process the transaction for a returning shopper, pass an empty `ecp-info` container. \n\n**Note:** `subscription-id` will not be returned in the response. The subscription ID will be created when the shopper's account is debited (typically within 2 business days). You will then be informed of the subscription ID via `Charge` webhook or via [Retrieve Specific Charge](doc:retrieve-specific-charge) request. \n\n###Create Subscription: with Google Pay™ \nThis example shows a Create Subscription request with a Google Pay wallet. In the request, include `wallet-type` = GOOGLE_PAY and `encoded-payment-token` inside `payment-source` > `wallet`. See the [Google Pay Guide](/docs/google-pay) for more information.\n\n###New shopper with different billing\nThis example shows a Create Subscription request with a new shopper whose the shopper contact details are different from the credit card billing information.\n\n###Vaulted shopper with billing\nThis example shows a Create Subscription request for an existing shopper with existing credit card information.\n\n###New shopper with hosted fields and different billing\nThis example shows a Create Subscription request for Hosted Payment Fields for a new shopper whose the shopper contact details are different from the credit card billing information. \n\n###Vaulted shopper with hosted fields and different billing\nThis example shows a Create Subscription request for Hosted Payment Fields for a an existing shopper with existing credit card information.\n\n\n\n<br>\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>\n\n<hr>\n\n##API Explorer\nTo test out a call, enter the XML portion of the request below and then click **Try it!**\n\n**Tip**: Copy the XML portion from one of the example requests above, or use the XML code below as a starting point. You can enter different parameter values to see how your test scenario would work. *The request headers, including authorization, are already built in for you in this test area, so you should not include them here.*\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"<recurring-subscription xmlns=\\\"http://ws.plimus.com\\\">\\n <plan-id>2283845</plan-id>\\n <payer-info>\\n <first-name>John</first-name>\\n <last-name>Doe</last-name>\\n <zip>12345</zip>\\n <phone>1234567890</phone>\\n </payer-info>\\n <payment-source>\\n <credit-card-info>\\n <credit-card>\\n <card-number>4111111111111111</card-number>\\n <security-code>111</security-code>\\n <expiration-month>07</expiration-month>\\n <expiration-year>2023</expiration-year> \\n </credit-card> \\n </credit-card-info>\\n </payment-source>\\n</recurring-subscription>\",\n \"language\": \"xml\"\n }\n ]\n}\n[/block]","updates":[],"order":5,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"603d5be8af8f1a00611381a2","project":"57336fd5a6a9c40e00e13a0b","version":{"version":"8976-XML","version_clean":"8976.0.0-XML","codename":"3.37 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["603d5be8af8f1a00611380fb","603d5be8af8f1a00611380fc","603d5be8af8f1a00611380fd","603d5be8af8f1a00611380fe","603d5be8af8f1a00611380ff","603d5be8af8f1a0061138100","603d5be8af8f1a0061138101","603d5be8af8f1a0061138102","603d5be8af8f1a0061138103","603d5be8af8f1a0061138104","603d5be8af8f1a0061138105","603d5be8af8f1a0061138106","603d5be8af8f1a0061138107","603d5be8af8f1a0061138108","603d5be8af8f1a0061138109","603d5be8af8f1a006113810a","603d5be8af8f1a006113810b","603d5be8af8f1a006113810c","603d5be8af8f1a006113810d","603d5be8af8f1a006113810e"],"_id":"603d5be8af8f1a00611381ba","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5ff4b747849e1b03c50684c7","createdAt":"2018-04-24T15:24:22.608Z","releaseDate":"2018-04-24T15:24:22.608Z"},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Subscriptions","slug":"subscriptions","order":11,"from_sync":false,"reference":false,"_id":"603d5be8af8f1a0061138103","version":"603d5be8af8f1a00611381ba","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2016-07-27T10:22:06.636Z","__v":0},"user":"5beb1b96bc2003003ecd645e","createdAt":"2019-07-25T16:24:36.602Z","__v":0,"parentDoc":null}
postCreate Subscription
Definition
Documentation
The Create Subscription request enables you to set up a subscription, which associates a shopper with a plan to bill on an ongoing basis.
For more information about working with subscriptions, see the Subscriptions tutorial.
Testing subscription charges in sandbox
After creating a subscription in sandbox, you can simulate a recurring charge event and trigger associated IPNs, emails, and invoices. Visit the Subscriptions Guide to learn how.
Request Content
recurring-subscription
container required, contains the following properties (see recurring-subscription):
plan-id
integer required
vendors-info
container optional (see vendors-info)
vaulted-shopper-id
integer optional - do not include if sending payer-info
payer-info
container optional - do not include if sending vaulted-shopper-id
(see payer-info)
payment-source
container required for payer-info
; optional for vaulted-shopper-id
(see payment-source)
quantity
integer optional
soft-descriptor
string optional
descriptor-phone-number
string optional
authorized-by-shopper
boolean required for ACH/ECP and SEPA Direct Debit value must be true
override-trial-period-days
integer optional
override-recurring-charge-amount
decimal optional
override-initial-charge-amount
decimal optional
three-d-secure
container optional (see three-d-secure)
transaction-fraud-info
container optional (see transaction-fraud-info)
level-3-data
container optional (see level-3-data)
initial-tax-reference
string optional
recurring-tax-reference
string optional
Response Details
If successful, the response HTTP status code is 200 OK.
The response body contains the recurring-subscription resource.
The subscription-id
appears in the response body and the location header (unless ACH or SEPA DD was used).
Examples
Request Examples
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2283845</plan-id>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<credit-card-info>
<credit-card>
<card-number>4111111111111111</card-number>
<security-code>111</security-code>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<transaction-fraud-info>
<fraud-session-id>1234</fraud-session-id>
</transaction-fraud-info>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2283845</plan-id>
<vaulted-shopper-id>20769005</vaulted-shopper-id>
<quantity>2</quantity>
<soft-descriptor>Merchant name</soft-descriptor>
<override-trial-period-days>10</override-trial-period-days>
<override-recurring-charge-amount>29.99</override-recurring-charge-amount>
<override-initial-charge-amount>10.5</override-initial-charge-amount>
<transaction-fraud-info>
<fraud-session-id>1234</fraud-session-id>
<shopper-ip-address>123.12.134.1</shopper-ip-address>
<company>Company Name</company>
<shipping-contact-info>
<last-name>John</last-name>
<first-name>Doe</first-name>
<country>US</country>
<state>AK</state>
<city>Juneau</city>
<address1>1 Main St</address1>
<address2>Apt 2</address2>
<zip>12345</zip>
</shipping-contact-info>
</transaction-fraud-info>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2283845</plan-id>
<vaulted-shopper-id>20769005</vaulted-shopper-id>
<payment-source>
<credit-card-info>
<credit-card>
<card-last-four-digits>9299</card-last-four-digits>
<card-type>VISA</card-type>
</credit-card>
</credit-card-info>
</payment-source>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2186278</plan-id>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<pf-token>339110a75e2cdbb5f5f2cea8d7cd8af261ad7c89fb0ce1aae_</pf-token>
</payment-source>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2283845</plan-id>
<vendors-info>
<vendor-info>
<vendor-id>10398032</vendor-id>
</vendor-info>
</vendors-info>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<credit-card-info>
<credit-card>
<card-number>4111111111111111</card-number>
<security-code>111</security-code>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<transaction-fraud-info>
<fraud-session-id>1234</fraud-session-id>
</transaction-fraud-info>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2283845</plan-id>
<payment-source>
<wallet>
<wallet-type>APPLE_PAY</wallet-type>
<encoded-payment-token>eyJ0b2tlbiI6eyJwYXltZW50RGF0YSI6ey...
</encoded-payment-token>
</wallet>
</payment-source>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2283845</plan-id>
<authorized-by-shopper>true</authorized-by-shopper>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
<country>fr</country>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<sepa-direct-debit-info>
<sepa-direct-debit>
<iban>DE09100100101234567893</iban>
</sepa-direct-debit>
</sepa-direct-debit-info>
</payment-source>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2380391</plan-id>
<authorized-by-shopper>true</authorized-by-shopper>
<payer-info>
<first-name>Jane</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
<country>us</country>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<ecp-info>
<ecp>
<account-number>4099999992</account-number>
<routing-number>011075150</routing-number>
<account-type>CONSUMER_CHECKING</account-type>
</ecp>
</ecp-info>
</payment-source>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2283845</plan-id>
<payment-source>
<wallet>
<wallet-type>GOOGLE_PAY</wallet-type>
<encoded-payment-token>eyJwYXltZW50TWV0aG9kVG9rZW4iOnsidG99</encoded-payment-token>
</wallet>
</payment-source>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2205010</plan-id>
<payer-info>
<first-name>PIFirst-name</first-name>
<last-name>PILast-name</last-name>
<zip>PIZip</zip>
<email>[email protected]</email>
<country>us</country>
<address>PIaddress1</address>
<address2>PIaddress2</address2>
<city>PICity</city>
</payer-info>
<payment-source>
<credit-card-info>
<credit-card>
<card-number>5555555555554444</card-number>
<card-type>MASTERCARD</card-type>
<security-code>111</security-code>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
<billing-contact-info>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<country>us</country>
<first-name>BiFirst-name</first-name >
<last-name >BiLast-name</last-name >
<state>CA</state>
<zip>BiZip</zip>
</billing-contact-info>
</credit-card-info>
</payment-source>
<transaction-fraud-info>
<fraud-session-id>1234</fraud-session-id>
</transaction-fraud-info>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<payment-source>
<credit-card-info>
<billing-contact-info>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<country>us</country>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<state>CA</state>
<zip>BiZip</zip>
</billing-contact-info>
<credit-card>
<card-number>5555555555554444</card-number>
<cardType>MASTERCARD</cardType>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
<security-code>111</security-code>
</credit-card>
</credit-card-info>
</payment-source>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19641522</vaulted-shopper-id>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<payer-info>
<address>PIaddress1</address>
<address2>PIaddress2</address2>
<city>PICity</city>
<country>il</country>
<email>[email protected]</email>
<first-name>PIFirst-name</first-name>
<last-name>PILast-name</last-name>
<zip>PIZip</zip>
</payer-info>
<payment-source>
<credit-card-info>
<billing-contact-info>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<country>us</country>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<state>CA</state>
<zip>BiZip</zip>
</billing-contact-info>
<pf-token>c72486e81b9e12704f02f097c9536cda9097868247d3c287172e03e045efb19a_</pf-token>
</credit-card-info>
</payment-source>
<plan-id>2205010</plan-id>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<payment-source>
<credit-card-info>
<billing-contact-info>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<country>us</country>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<state>CA</state>
<zip>BiZip</zip>
</billing-contact-info>
<pf-token>50fe35c1f5d916f638aa7535531c0f8da64bbe1142e877008283c81ce9e11a80_</pf-token>
</credit-card-info>
</payment-source>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19641506</vaulted-shopper-id>
</recurring-subscription>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/subscriptions \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2190390</plan-id>
<vaulted-shopper-id>19574268</vaulted-shopper-id>
<three-d-secure>
<three-d-secure-reference-id>4911</three-d-secure-reference-id>
</three-d-secure>
</recurring-subscription>
HTTP/ 1.1 200 OK
<recurring-subscription xmlns="http://ws.plimus.com">
<subscription-id>8492717</subscription-id>
<plan-id>2283845</plan-id>
<vaulted-shopper-id>21188909</vaulted-shopper-id>
<status>ACTIVE</status>
<quantity>1</quantity>
<soft-descriptor>BLS*default_descriptor</soft-descriptor>
<charge-frequency>MONTHLY</charge-frequency>
<trial-period-days>14</trial-period-days>
<recurring-charge-amount>29.99</recurring-charge-amount>
<currency>USD</currency>
<initial-charge-amount>100.00</initial-charge-amount>
<auto-renew>true</auto-renew>
<next-charge-date>2021-08-16</next-charge-date>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
</payer-info>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
</billing-contact-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<card-sub-type>CREDIT</card-sub-type>
<card-category>CLASSIC</card-category>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<charge>
<charge-id>12117877</charge-id>
<subscription-id>8492717</subscription-id>
<plan-id>2283845</plan-id>
<vaulted-shopper-id>21188909</vaulted-shopper-id>
<transaction-id>1012463333</transaction-id>
<transaction-date>2021-08-02</transaction-date>
<amount>100.00</amount>
<currency>USD</currency>
<soft-descriptor>BLS*default_descriptor</soft-descriptor>
<payment-source>
<credit-card-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<card-sub-type>CREDIT</card-sub-type>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<charge-info>
<from-date>2021-08-02</from-date>
<to-date>2021-08-16</to-date>
<charge-type>INITIAL</charge-type>
</charge-info>
</charge>
<fraud-result-info>
<device-data-collector>Y</device-data-collector>
</fraud-result-info>
</recurring-subscription>
<recurring-subscription xmlns="http://ws.plimus.com">
<subscription-id>39565914</subscription-id>
<plan-id>2200594</plan-id>
<vaulted-shopper-id>19608696</vaulted-shopper-id>
<status>ACTIVE</status>
<quantity>1</quantity>
<soft-descriptor>BLS*default_descriptor</soft-descriptor>
<charge-frequency>MONTHLY</charge-frequency>
<recurring-charge-amount>29.99</recurring-charge-amount>
<currency>USD</currency>
<auto-renew>true</auto-renew>
<next-charge-date>2021-04-16</next-charge-date>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<wallet>
<wallet-type>APPLE_PAY</wallet-type>
<billing-contact-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<address1>South St</address1>
<city>Waltham</city>
<state>MA</state>
<zip>02453</zip>
</billing-contact-info>
<tokenized-card>
<dpan-expiration-month>11</dpan-expiration-month>
<dpan-expiration-year>2025</dpan-expiration-year>
<dpan-last-four-digits>9197</dpan-last-four-digits>
<card-last-four-digits>0492</card-last-four-digits>
<card-type>VISA</card-type>
<card-sub-type>DEBIT</card-sub-type>
<card-category>CLASSIC</card-category>
<bin-category>CONSUMER</bin-category>
<card-regulated>N</card-regulated>
<issuing-country-code>us</issuing-country-code>
</tokenized-card>
</wallet>
</payment-source>
<charge>
<charge-id>235835</charge-id>
<subscription-id>39565914</subscription-id>
<plan-id>2200594</plan-id>
<vaulted-shopper-id>19608696</vaulted-shopper-id>
<transaction-id>38548964</transaction-id>
<transaction-date>2019-03-16</transaction-date>
<amount>29.99</amount>
<currency>USD</currency>
<soft-descriptor>BLS*default_descriptor</soft-descriptor>
<payment-source>
<wallet>
<wallet-type>APPLE_PAY</wallet-type>
<billing-contact-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<address1>South St</address1>
<city>Waltham</city>
<state>MA</state>
<zip>02453</zip>
</billing-contact-info>
<tokenized-card>
<dpan-expiration-month>11</dpan-expiration-month>
<dpan-expiration-year>2025</dpan-expiration-year>
<dpan-last-four-digits>9197</dpan-last-four-digits>
<card-last-four-digits>0492</card-last-four-digits>
<card-type>VISA</card-type>
<card-sub-type>DEBIT</card-sub-type>
<card-category>CLASSIC</card-category>
<bin-category>CONSUMER</bin-category>
<card-regulated>N</card-regulated>
<issuing-country-code>us</issuing-country-code>
</tokenized-card>
</wallet>
</payment-source>
<charge-info>
<from-date>2021-03-16</from-date>
<to-date>2021-04-16</to-date>
<charge-type>INITIAL</charge-type>
</charge-info>
</charge>
</recurring-subscription>
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2436197</plan-id>
<vaulted-shopper-id>21846521</vaulted-shopper-id>
<soft-descriptor>Oooops LTD</soft-descriptor>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<country>fr</country>
<zip>12345</zip>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<sepa-direct-debit-info>
<sepa-direct-debit>
<iban-first-four>DE09</iban-first-four>
<iban-last-four>7893</iban-last-four>
<mandate-id>Ooo156577</mandate-id>
<mandate-date>01-Aug-17</mandate-date>
<pre-notification-text>The amount of 29.99 EUR will be collected using SEPA Direct Debit with Mandate Ooo156577 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>
</sepa-direct-debit>
</sepa-direct-debit-info>
</payment-source>
<charge>
<plan-id>2436197</plan-id>
<vaulted-shopper-id>21846521</vaulted-shopper-id>
<transaction-id>1011278923</transaction-id>
<transaction-date>2017-08-01</transaction-date>
<amount>29.99</amount>
<currency>EUR</currency>
<soft-descriptor>Oooops LTD</soft-descriptor>
<payment-source>
<sepa-direct-debit-info>
<sepa-direct-debit>
<iban-first-four>DE09</iban-first-four>
<iban-last-four>7893</iban-last-four>
<mandate-id>Ooo156577</mandate-id>
<mandate-date>01-Aug-19</mandate-date>
<pre-notification-text>The amount of 29.99 EUR will be collected using SEPA Direct Debit with Mandate Ooo156577 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>
</sepa-direct-debit>
</sepa-direct-debit-info>
</payment-source>
<processing-info>
<processing-status>PENDING</processing-status>
</processing-info>
</charge>
</recurring-subscription>
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2380391</plan-id>
<vaulted-shopper-id>22331787</vaulted-shopper-id>
<soft-descriptor>default_descriptor</soft-descriptor>
<payer-info>
<first-name>Jane</first-name>
<last-name>Doe</last-name>
<country>us</country>
<zip>12345</zip>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<ecp-info>
<ecp>
<account-number>4099999992</account-number>
<routing-number>011075150</routing-number>
<account-type>CONSUMER_CHECKING</account-type>
</ecp>
</ecp-info>
</payment-source>
<charge>
<plan-id>2380391</plan-id>
<vaulted-shopper-id>22331787</vaulted-shopper-id>
<transaction-id>1015616051</transaction-id>
<transaction-date>2019-01-26</transaction-date>
<amount>65.00</amount>
<currency>USD</currency>
<soft-descriptor>default_descriptor</soft-descriptor>
<payment-source>
<ecp-info>
<ecp>
<account-number>4099999992</account-number>
<routing-number>011075150</routing-number>
<account-type>CONSUMER_CHECKING</account-type>
</ecp>
</ecp-info>
</payment-source>
<charge-info>
<charge-type>INITIAL</charge-type>
</charge-info>
<processing-info>
<processing-status>PENDING</processing-status>
</processing-info>
</charge>
</recurring-subscription>
<card-transaction>
<autoRenew>true</autoRenew>
<charge>
<amount>1.99</amount>
<chargeId>250389</chargeId>
<chargeInfo>
<chargeType>INITIAL</chargeType>
<fromDate>2018-09-05</fromDate>
<toDate>2018-10-05</toDate>
</chargeInfo>
<currency>USD</currency>
<paymentSource>
<creditCardInfo>
<creditCard>
<cardCategory>CLASSIC</cardCategory>
<cardLastFourDigits>1111</cardLastFourDigits>
<cardSubType>CREDIT</cardSubType>
<cardType>VISA</cardType>
<expirationMonth>09</expirationMonth>
<expirationYear>2023</expirationYear>
</creditCard>
</creditCardInfo>
</paymentSource>
<planId>2203980</planId>
<processingInfo>
<processingStatus>SUCCESS</processingStatus>
</processingInfo>
<softDescriptor>BLS</softDescriptor>
<subscriptionId>39594120</subscriptionId>
<transactionDate>2019-09-05</transactionDate>
<transactionId>38589782</transactionId>
<vaultedShopperId>19637272</vaultedShopperId>
</charge>
<chargeFrequency>MONTHLY</chargeFrequency>
<currency>USD</currency>
<fraudResultInfo>
<deviceDataCollector>N</deviceDataCollector>
</fraudResultInfo>
<nextChargeDate>2019-10-05</nextChargeDate>
<payerInfo>
<address>32 some street</address>
<city>some city</city>
<country>us</country>
<email>test&#x40;gmail.com</email>
<firstName>test first name</firstName>
<lastName>test last name</lastName>
<phone>456276576</phone>
<state>MA</state>
<zip>
<element>12345</element>
<element>02186</element>
</zip>
</payerInfo>
<paymentSource>
<creditCardInfo>
<billingContactInfo>
<address>32 some street</address>
<city>some city</city>
<country>us</country>
<firstName>test first name</firstName>
<lastName>test last name</lastName>
<state>MA</state>
<zip>
<element>123456</element>
<element>02186</element>
</zip>
</billingContactInfo>
<creditCard>
<cardCategory>CLASSIC</cardCategory>
<cardLastFourDigits>1111</cardLastFourDigits>
<cardSubType>CREDIT</cardSubType>
<cardType>VISA</cardType>
<expirationMonth>09</expirationMonth>
<expirationYear>2023</expirationYear>
</creditCard>
</creditCardInfo>
</paymentSource>
<planId>2203980</planId>
<quantity>1</quantity>
<recurringChargeAmount>1.99</recurringChargeAmount>
<softDescriptor>BLS</softDescriptor>
<status>ACTIVE</status>
<subscriptionId>39594120</subscriptionId>
<vaultedShopperId>19637272</vaultedShopperId>
</card-transaction>
<card-transaction>
<amount>11</amount>
<cardHolderInfo>
<country>us</country>
<firstName>test first name</firstName>
<lastName>test last name</lastName>
<zip>123456</zip>
</cardHolderInfo>
<cardTransactionType>AUTH_ONLY</cardTransactionType>
<currency>USD</currency>
<processingInfo>
<processingStatus>success</processingStatus>
</processingInfo>
<recurringTransaction>ECOMMERCE</recurringTransaction>
<softDescriptor>BLS&#x2a;DescTest</softDescriptor>
<transactionId>1012751937</transactionId>
<vaultedShopperId>21289371</vaultedShopperId>
<wallet>
<billingContactInfo>
<country>us</country>
<firstName>test first name</firstName>
<lastName>test last name</lastName>
<zip>12345</zip>
</billingContactInfo>
<tokenizedCard>
<cardLastFourDigits>1111</cardLastFourDigits>
<cardSubType>CREDIT</cardSubType>
<cardType>VISA</cardType>
<dpanExpirationMonth>9</dpanExpirationMonth>
<dpanExpirationYear>2023</dpanExpirationYear>
<dpanLastFourDigits>2222</dpanLastFourDigits>
</tokenizedCard>
<walletType>GOOGLE_PAY</walletType>
</wallet>
</card-transaction>
<recurring-subscription xmlns="http://ws.plimus.com">
<subscription-id>39600216</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19643286</vaulted-shopper-id>
<status>ACTIVE</status>
<quantity>1</quantity>
<soft-descriptor>BLS*try</soft-descriptor>
<charge-frequency>MONTHLY</charge-frequency>
<recurring-charge-amount>1.99</recurring-charge-amount>
<currency>USD</currency>
<auto-renew>true</auto-renew>
<next-charge-date>2019-04-05</next-charge-date>
<payer-info>
<first-name>PIFirst-name</first-name>
<last-name>PILast-name</last-name>
<email>tt@gmail.com</email>
<country>us</country>
<address>PIaddress1</address>
<address2>PIaddress2</address2>
<city>PICity</city>
<zip>PIZip</zip>
</payer-info>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>4444</card-last-four-digits>
<card-type>MASTERCARD</card-type>
<bin-category>CONSUMER</bin-category>
<card-regulated>N</card-regulated>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
<issuing-country-code>BR</issuing-country-code>
</credit-card>
</credit-card-info>
</payment-source>
<charge>
<charge-id>251829</charge-id>
<subscription-id>39600216</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19643286</vaulted-shopper-id>
<transaction-id>38599800</transaction-id>
<transaction-date>2019-03-05</transaction-date>
<amount>1.99</amount>
<currency>USD</currency>
<soft-descriptor>BLS*try</soft-descriptor>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>4444</card-last-four-digits>
<card-type>MASTERCARD</card-type>
<bin-category>CONSUMER</bin-category>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<charge-info>
<from-date>2019-03-05</from-date>
<to-date>2019-04-05</to-date>
<charge-type>INITIAL</charge-type>
</charge-info>
<processing-info>
<processing-status>SUCCESS</processing-status>
</processing-info>
</charge>
<fraud-result-info>
<device-data-collector>N</device-data-collector>
</fraud-result-info>
</recurring-subscription>
<recurring-subscription xmlns="http://ws.plimus.com">
<subscription-id>39600220</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19641522</vaulted-shopper-id>
<status>ACTIVE</status>
<quantity>1</quantity>
<soft-descriptor>BLS*try</soft-descriptor>
<charge-frequency>MONTHLY</charge-frequency>
<recurring-charge-amount>1.99</recurring-charge-amount>
<currency>USD</currency>
<auto-renew>true</auto-renew>
<next-charge-date>2019-04-05</next-charge-date>
<payer-info>
<first-name>Shevie</first-name>
<last-name>Chen</last-name>
<country>us</country>
</payer-info>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>4444</card-last-four-digits>
<card-type>MASTERCARD</card-type>
<bin-category>CONSUMER</bin-category>
<card-regulated>N</card-regulated>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
<issuing-country-code>BR</issuing-country-code>
</credit-card>
</credit-card-info>
</payment-source>
<charge>
<charge-id>251837</charge-id>
<subscription-id>39600220</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19641522</vaulted-shopper-id>
<transaction-id>38599808</transaction-id>
<transaction-date>2019-03-05</transaction-date>
<amount>1.99</amount>
<currency>USD</currency>
<soft-descriptor>BLS*try</soft-descriptor>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>4444</card-last-four-digits>
<card-type>MASTERCARD</card-type>
<bin-category>CONSUMER</bin-category>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<charge-info>
<from-date>2019-03-05</from-date>
<to-date>2019-04-05</to-date>
<charge-type>INITIAL</charge-type>
</charge-info>
<processing-info>
<processing-status>SUCCESS</processing-status>
</processing-info>
</charge>
<fraud-result-info>
<device-data-collector>N</device-data-collector>
</fraud-result-info>
</recurring-subscription>
<recurring-subscription xmlns="http://ws.plimus.com">
<subscription-id>39600222</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19643290</vaulted-shopper-id>
<status>ACTIVE</status>
<quantity>1</quantity>
<soft-descriptor>BLS*try</soft-descriptor>
<charge-frequency>MONTHLY</charge-frequency>
<recurring-charge-amount>1.99</recurring-charge-amount>
<currency>USD</currency>
<auto-renew>true</auto-renew>
<next-charge-date>2019-04-05</next-charge-date>
<payer-info>
<first-name>PIFirst-name</first-name>
<last-name>PILast-name</last-name>
<email>tt@gmail.com</email>
<country>il</country>
<address>PIaddress1</address>
<address2>PIaddress2</address2>
<city>PICity</city>
<zip>PIZip</zip>
</payer-info>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<bin-category>CONSUMER</bin-category>
<card-regulated>Y</card-regulated>
<issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>
<expiration-month>11</expiration-month>
<expiration-year>2023</expiration-year>
<issuing-country-code>US</issuing-country-code>
</credit-card>
</credit-card-info>
</payment-source>
<charge>
<charge-id>251847</charge-id>
<subscription-id>39600222</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19643290</vaulted-shopper-id>
<transaction-id>38599818</transaction-id>
<transaction-date>2019-03-05</transaction-date>
<amount>1.99</amount>
<currency>USD</currency>
<soft-descriptor>BLS*try</soft-descriptor>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<bin-category>CONSUMER</bin-category>
<expiration-month>11</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<charge-info>
<from-date>2019-03-05</from-date>
<to-date>2019-04-05</to-date>
<charge-type>INITIAL</charge-type>
</charge-info>
<processing-info>
<processing-status>SUCCESS</processing-status>
</processing-info>
</charge>
<fraud-result-info>
<device-data-collector>N</device-data-collector>
</fraud-result-info>
</recurring-subscription>
<recurring-subscription xmlns="http://ws.plimus.com">
<subscription-id>39600224</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19641146</vaulted-shopper-id>
<status>ACTIVE</status>
<quantity>1</quantity>
<soft-descriptor>BLS*try</soft-descriptor>
<charge-frequency>MONTHLY</charge-frequency>
<recurring-charge-amount>1.99</recurring-charge-amount>
<currency>USD</currency>
<auto-renew>true</auto-renew>
<next-charge-date>2019-04-05</next-charge-date>
<payer-info>
<first-name>Shevie</first-name>
<last-name>Chen</last-name>
<email>sdk_test1@gmail.com</email>
<country>il</country>
<phone>1800123456789</phone>
</payer-info>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<bin-category>CONSUMER</bin-category>
<card-regulated>Y</card-regulated>
<issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>
<expiration-month>11</expiration-month>
<expiration-year>2023</expiration-year>
<issuing-country-code>US</issuing-country-code>
</credit-card>
</credit-card-info>
</payment-source>
<charge>
<charge-id>251849</charge-id>
<subscription-id>39600224</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19641146</vaulted-shopper-id>
<transaction-id>38599820</transaction-id>
<transaction-date>2019-03-05</transaction-date>
<amount>1.99</amount>
<currency>USD</currency>
<soft-descriptor>BLS*try</soft-descriptor>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<bin-category>CONSUMER</bin-category>
<expiration-month>11</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<charge-info>
<from-date>2019-03-05</from-date>
<to-date>2019-04-05</to-date>
<charge-type>INITIAL</charge-type>
</charge-info>
<processing-info>
<processing-status>SUCCESS</processing-status>
</processing-info>
</charge>
<fraud-result-info>
<device-data-collector>N</device-data-collector>
</fraud-result-info>
</recurring-subscription>
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2190390</plan-id>
<vaulted-shopper-id>19574268</vaulted-shopper-id>
<soft-descriptor>BLS*BS</soft-descriptor>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<email>jdoe@johndoeandsons.com</email>
<country>us</country>
<state>CA</state>
<address>138 Market St</address>
<city>San Francisco</city>
<zip>75654</zip>
<phone>14135556789</phone>
</payer-info>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<address1>138 Market St</address1>
<city>San Francisco</city>
<state>CA</state>
<zip>75654</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<card-sub-type>CREDIT</card-sub-type>
<bin-category>CONSUMER</bin-category>
<issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>
<expiration-month>09</expiration-month>
<expiration-year>2023</expiration-year>
<issuing-country-code>us</issuing-country-code>
</credit-card>
</credit-card-info>
</payment-source>
<charge>
<plan-id>2190390</plan-id>
<vaulted-shopper-id>19574268</vaulted-shopper-id>
<transaction-id>38510940</transaction-id>
<transaction-date>2019-07-24</transaction-date>
<amount>10.00</amount>
<currency>USD</currency>
<soft-descriptor>BLS*BS</soft-descriptor>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<address1>138 Market St</address1>
<city>San Francisco</city>
<state>CA</state>
<zip>75654</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<card-sub-type>CREDIT</card-sub-type>
<bin-category>CONSUMER</bin-category>
<issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>
<expiration-month>09</expiration-month>
<expiration-year>2023</expiration-year>
<issuing-country-code>us</issuing-country-code>
</credit-card>
</credit-card-info>
</payment-source>
<charge-info>
<charge-type>INITIAL</charge-type>
</charge-info>
<processing-info>
<processing-status>SUCCESS</processing-status>
</processing-info>
</charge>
<fraud-result-info>
<device-data-collector>N</device-data-collector>
</fraud-result-info>
<three-d-secure>
<authentication-result>AUTHENTICATION_SUCCEEDED</authentication-result>
</three-d-secure>
</recurring-subscription>
<recurring-subscription xmlns="http://ws.plimus.com">
<subscription-id>39600216</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19643286</vaulted-shopper-id>
<status>ACTIVE</status>
<quantity>1</quantity>
<soft-descriptor>BLS*try</soft-descriptor>
<charge-frequency>MONTHLY</charge-frequency>
<recurring-charge-amount>1.99</recurring-charge-amount>
<currency>USD</currency>
<auto-renew>true</auto-renew>
<next-charge-date>2019-04-05</next-charge-date>
<payer-info>
<first-name>PIFirst-name</first-name>
<last-name>PILast-name</last-name>
<email>tt@gmail.com</email>
<country>us</country>
<address>PIaddress1</address>
<address2>PIaddress2</address2>
<city>PICity</city>
<zip>PIZip</zip>
</payer-info>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>4444</card-last-four-digits>
<card-type>MASTERCARD</card-type>
<bin-category>CONSUMER</bin-category>
<card-regulated>N</card-regulated>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
<issuing-country-code>BR</issuing-country-code>
</credit-card>
</credit-card-info>
</payment-source>
<charge>
<charge-id>251829</charge-id>
<subscription-id>39600216</subscription-id>
<plan-id>2205010</plan-id>
<vaulted-shopper-id>19643286</vaulted-shopper-id>
<transaction-id>38599800</transaction-id>
<transaction-date>2019-03-05</transaction-date>
<amount>1.99</amount>
<currency>USD</currency>
<soft-descriptor>BLS*try</soft-descriptor>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>BiFirst-name</first-name>
<last-name>BiLast-name</last-name>
<address1>BiAddress1</address1>
<address2>BiAddress2</address2>
<city>BiCity</city>
<state>CA</state>
<zip>BiZip</zip>
<country>us</country>
</billing-contact-info>
<credit-card>
<card-last-four-digits>4444</card-last-four-digits>
<card-type>MASTERCARD</card-type>
<bin-category>CONSUMER</bin-category>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
<charge-info>
<from-date>2019-03-05</from-date>
<to-date>2019-04-05</to-date>
<charge-type>INITIAL</charge-type>
</charge-info>
<processing-info>
<processing-status>SUCCESS</processing-status>
<authorization-code>654321</authorization-code>
<au
</processing-info>
</charge>
<fraud-result-info>
<device-data-collector>N</device-data-collector>
</fraud-result-info>
</recurring-subscription>
<recurring-subscription xmlns="http://ws.plimus.com">
<subscription-id>19752567</subscription-id>
<plan-id>2283845</plan-id>
<vaulted-shopper-id>27567999</vaulted-shopper-id>
<status>ACTIVE</status>
<quantity>1</quantity>
<soft-descriptor>BLS*default_descriptor</soft-descriptor>
<vendors-info>
<vendor-info>
<vendor-id>10398032</vendor-id>
<commission-percent>90.2</commission-percent>
</vendor-info>
</vendors-info>
<charge-frequency>MONTHLY</charge-frequency>
<trial-period-days>14</trial-period-days>
<recurring-charge-amount>29.99</recurring-charge-amount>
<currency>USD</currency>
<initial-charge-amount>100.00</initial-charge-amount>
<auto-renew>true</auto-renew>
<next-charge-date>2020-06-09</next-charge-date>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
</billing-contact-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<card-sub-type>CREDIT</card-sub-type>
<bin-category>CONSUMER</bin-category>
<card-regulated>Y</card-regulated>
<issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
<issuing-country-code>us</issuing-country-code>
</credit-card>
</credit-card-info>
</payment-source>
<charge>
<charge-id>18319027</charge-id>
<subscription-id>19752567</subscription-id>
<plan-id>2283845</plan-id>
<vaulted-shopper-id>27567999</vaulted-shopper-id>
<transaction-id>1031082567</transaction-id>
<transaction-date>2020-05-26</transaction-date>
<amount>100.00</amount>
<currency>USD</currency>
<soft-descriptor>BLS*default_descriptor</soft-descriptor>
<payment-source>
<credit-card-info>
<billing-contact-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
</billing-contact-info>
<credit-card>
<card-last-four-digits>1111</card-last-four-digits>
<card-type>VISA</card-type>
<card-sub-type>CREDIT</card-sub-type>
<bin-category>CONSUMER</bin-category>
<card-regulated>Y</card-regulated>
<issuing-bank>JPMORGAN CHASE BANK, N.A.</issuing-bank>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
<issuing-country-code>us</issuing-country-code>
</credit-card>
</credit-card-info>
</payment-source>
<charge-info>
<from-date>2020-05-26</from-date>
<to-date>2020-06-09</to-date>
<charge-type>INITIAL</charge-type>
</charge-info>
<processing-info>
<processing-status>SUCCESS</processing-status>
<authorization-code>654321</authorization-code>
</processing-info>
<vendors-info>
<vendor-info>
<vendor-id>10398032</vendor-id>
<commission-percent>90.2</commission-percent>
</vendor-info>
</vendors-info>
</charge>
<fraud-result-info/>
</recurring-subscription>
Example Descriptions
Create Subscription: with new shopper
This example shows a basic Create Subscription request for a new shopper, with details about the shopper and their payment method.
Create Subscription: with vaulted shopper and optional fields
This example shows a Create Subscription request with an existing vaulted shopper who has only one saved payment method, so there is no need to specify which payment method to use.
This example request also includes all optional subscription fields, such as quantity, soft descriptor and the various override fields. The override values take precedence over the settings at the plan level, and they apply only to this subscription.
Create Subscription: with vaulted shopper and specific payment method
This example shows a Create Subscription request with an existing vaulted shopper who has multiple saved payment methods, so you must specify which payment method to use.
Create Subscription: with new shopper and Hosted Payment Fields
This example shows a Create Subscription request with a new shopper whose card information was collected using Hosted Payment Fields. Include pf-token
in the request with its value set to the Hosted Payment Fields token.
Create Subscription: with new shopper and vendors info
This example shows a Create Subscription request with a Marketplace vendor. Include vendors-info
in the request to process a transaction involving one or more vendors. For more details, refer to the Marketplace Guide.
Create Subscription: with Apple Pay
This example shows a Create Subscription request with an Apple Pay wallet. In the request, include the encoded-payment-token
inside payment-source
> wallet
, also supply wallet-type
of APPLE_PAY
there. Refer to the Apple Pay Guide for more information.
Note: To test Apple Pay, follow the steps in the Apple Pay Guide. The API Explorer does not support Apple Pay testing.
Create Subscription: with SEPA Direct Debit
This example shows a Create Subscription request with a new shopper with the SEPA Direct Debit payment method. In the request, include authorized-by-shopper
with a value set to true to indicate that you've collected the shopper's mandate acceptance. Include the shopper's bank account details within payment-source
> sepa-direct-debit-info
> sepa-direct-debit
.
Note: subscription-id
will not be returned in the response. The subscription ID will be created when the shopper's account is debited (typically within 5 - 6 business days). You will then be informed of the subscription ID via Charge
webhook or via Retrieve Specific Charge request.
Create Subscription: with ACH/ECP
This example shows a Create Subscription request with a new shopper with the ACH/ECP payment method. In the request, include authorized-by-shopper
with a value set to true to indicate that you've collected the shopper's permission to debit their account. Include the shopper's bank account details within payment-source
> ecp-info
> ecp
. If you would like to process the transaction for a returning shopper, pass an empty ecp-info
container.
Note: subscription-id
will not be returned in the response. The subscription ID will be created when the shopper's account is debited (typically within 2 business days). You will then be informed of the subscription ID via Charge
webhook or via Retrieve Specific Charge request.
Create Subscription: with Google Pay™
This example shows a Create Subscription request with a Google Pay wallet. In the request, include wallet-type
= GOOGLE_PAY and encoded-payment-token
inside payment-source
> wallet
. See the Google Pay Guide for more information.
New shopper with different billing
This example shows a Create Subscription request with a new shopper whose the shopper contact details are different from the credit card billing information.
Vaulted shopper with billing
This example shows a Create Subscription request for an existing shopper with existing credit card information.
New shopper with hosted fields and different billing
This example shows a Create Subscription request for Hosted Payment Fields for a new shopper whose the shopper contact details are different from the credit card billing information.
Vaulted shopper with hosted fields and different billing
This example shows a Create Subscription request for Hosted Payment Fields for a an existing shopper with existing credit card information.
API Explorer
To test out a call, enter the XML portion of the request below and then click Try it!
Tip: Copy the XML portion from one of the example requests above, or use the XML code below as a starting point. You can enter different parameter values to see how your test scenario would work. The request headers, including authorization, are already built in for you in this test area, so you should not include them here.
<recurring-subscription xmlns="http://ws.plimus.com">
<plan-id>2283845</plan-id>
<payer-info>
<first-name>John</first-name>
<last-name>Doe</last-name>
<zip>12345</zip>
<phone>1234567890</phone>
</payer-info>
<payment-source>
<credit-card-info>
<credit-card>
<card-number>4111111111111111</card-number>
<security-code>111</security-code>
<expiration-month>07</expiration-month>
<expiration-year>2023</expiration-year>
</credit-card>
</credit-card-info>
</payment-source>
</recurring-subscription>