{"_id":"59e4fc44bec93f00108b8396","project":"57336fd5a6a9c40e00e13a0b","version":{"_id":"59df6a523b756800107b201e","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-10-12T13:12:50.128Z","releaseDate":"2017-10-12T13:12:50.128Z","categories":["59df6a523b756800107b201f","59df6a523b756800107b2020","59df6a523b756800107b2021","59df6a523b756800107b2022","59df6a523b756800107b2023","59df6a523b756800107b2024","59df6a523b756800107b2025","59df6a523b756800107b2026","59df6a523b756800107b2027","59df6a523b756800107b2028","59df6a523b756800107b2029","59df6a523b756800107b202a","59df6a523b756800107b202b","59df6a523b756800107b202c","59df6a523b756800107b202d","59df6a523b756800107b202e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.23 Release","version_clean":"8976.0.0-XML","version":"8976-XML"},"category":{"_id":"59df6a523b756800107b2027","version":"59df6a523b756800107b201e","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-27T10:22:06.636Z","from_sync":false,"order":8,"slug":"subscriptions","title":"Subscriptions"},"user":"560d5913af97231900938124","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-10-16T18:36:52.473Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"results":{"codes":[]},"settings":"","method":"post","auth":"optional","params":[],"url":"/recurring/ondemand"},"isReference":false,"order":6,"body":"If you manage your own subscriptions, the Create Merchant-Managed Subscription request enables you to set up a merchant-managed subscription, which associates an initial subscription charge with all recurring charges. \n\nTo process recurring subscription charges, you'll send a [Create Merchant-Managed Subscription Charge](doc:create-merchant-managed-subscription-charge) request.\n[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"See the guide on using merchant-managed subscriptions\",\n  \"body\": \"For more information on working with merchant-managed subscriptions, see [Merchant-Managed Subscriptions](doc:subscription-management#section-merchant-managed-subscriptions).\"\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`charge` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span>, contains the following properties (see [charge](doc:charge)):\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`amount` *decimal* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> for SEPA Direct Debit; optional otherwise\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`currency` *string* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> \n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`vaulted-shopper-id` *integer* &nbsp;&nbsp;&nbsp;optional - do not include if sending `payer-info`\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`payer-info` *container* &nbsp;&nbsp;&nbsp;optional - do not include if sending `vaulted-shopper-id` (see [payer-info](doc:payer-info))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`payment-source` *container* &nbsp;&nbsp;&nbsp;<span style=\"color:#F37500\">**required** for `payer-info`</span>; optional for `vaulted-shopper-id` (see [payment-source](doc:payment-source))\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`soft-descriptor` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`descriptor-phone-number` *string* &nbsp;&nbsp;&nbsp;optional\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`authorized-by-shopper` &nbsp;&nbsp;&nbsp; *boolean* &nbsp;&nbsp;<span style=\"color:#F37500\">**required**</span> for SEPA Direct Debit&nbsp;&nbsp; value must be **true**\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`transaction-fraud-info` *container* &nbsp;&nbsp;&nbsp;optional (see [transaction-fraud-info](doc:transaction-fraud-info))\n\n###Response Details\nIf successful, the response HTTP status code is 200 OK.\nThe response body contains the [charge](doc:charge) resource. \nThe `subscription-id` appears in the response body (unless payment source was SEPA Direct Debit).\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/ondemand \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<charge xmlns=\\\"http://ws.plimus.com\\\">\\n  <amount>45</amount>\\n  <currency>USD</currency>\\n  <payer-info>\\n    <first-name>John</first-name>\\n    <last-name>Doe</last-name>\\n    <zip>12345</zip>\\n    <country>us</country>\\n  </payer-info>\\n  <payment-source>\\n    <credit-card-info>\\n      <credit-card>\\n        <card-number>4012000033330026</card-number>\\n        <security-code>111</security-code>\\n        <expiration-month>05</expiration-month>\\n        <expiration-year>2018</expiration-year>\\n      </credit-card>\\n    </credit-card-info>\\n  </payment-source>\\n</charge>'\",\n      \"language\": \"curl\",\n      \"name\": \"Create Merchant-Managed Subscription request: with credit card\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/ondemand \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<charge xmlns=\\\"http://ws.plimus.com\\\">\\n  <amount>45</amount>\\n  <currency>USD</currency>\\n  <payment-source>\\n    <wallet>\\n      <apple-pay>\\n        <encoded-payment-token>eyJ0b2tliZ2l2ZW5OYW1lIjoiTG9kIiwiY291bnRye…</encoded-payment-token>\\n      </apple-pay>\\n    </wallet>\\n  </payment-source>\\n</charge>'\",\n      \"language\": \"curl\",\n      \"name\": \"with Apple Pay\"\n    },\n    {\n      \"code\": \"curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/ondemand \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \\\\\\n-d '\\n<charge xmlns=\\\"http://ws.plimus.com\\\">\\n  <amount>45</amount>\\n  <currency>EUR</currency>\\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  </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</charge>'\",\n      \"language\": \"curl\",\n      \"name\": \"with SEPA Direct Debit\"\n    }\n  ]\n}\n[/block]\n###Response Examples\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<charge xmlns=\\\"http://ws.plimus.com\\\">\\n  <charge-id>6198862</charge-id>\\n  <subscription-id>8129231</subscription-id>\\n  <vaulted-shopper-id>22220051</vaulted-shopper-id>\\n  <transaction-id>1011791561</transaction-id>\\n  <transaction-date>2017-10-12</transaction-date>\\n  <amount>45.00</amount>\\n  <currency>USD</currency>\\n  <soft-descriptor>BLS&#x2a;testing</soft-descriptor>\\n  <payment-source>\\n    <credit-card-info>\\n      <credit-card>\\n        <card-last-four-digits>0026</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>05</expiration-month>\\n        <expiration-year>2018</expiration-year>\\n      </credit-card>\\n    </credit-card-info>\\n  </payment-source>\\n  <charge-info>\\n    <charge-type>INITIAL</charge-type>\\n  </charge-info>\\n</charge>\",\n      \"language\": \"xml\",\n      \"name\": \"Create Merchant-Managed Subscription response: with credit card\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<charge xmlns=\\\"http://ws.plimus.com\\\">\\n  <charge-id>165323</charge-id>\\n  <subscription-id>39518448</subscription-id>\\n  <vaulted-shopper-id>19559630</vaulted-shopper-id>\\n  <transaction-id>38492608</transaction-id>\\n  <transaction-date>2017-10-13</transaction-date>\\n  <amount>45.00</amount>\\n  <currency>USD</currency>\\n  <soft-descriptor>BLS&#x2a;BlueSnap</soft-descriptor>\\n  <payment-source>\\n    <wallet>\\n      <billing-contact-info>\\n        <first-name>Jane</first-name>\\n        <last-name>Shopper</last-name>\\n        <address1>800 South St</address1>\\n        <city>Waltham</city>\\n        <zip>02453</zip>\\n        <country>us</country>\\n      </billing-contact-info>\\n      <apple-pay>\\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        <dpan-last-four-digits>6889</dpan-last-four-digits>\\n        <dpan-expiration-month>11</dpan-expiration-month>\\n        <dpan-expiration-year>2025</dpan-expiration-year>\\n      </apple-pay>\\n    </wallet>\\n  </payment-source>\\n  <charge-info>\\n    <charge-type>INITIAL</charge-type>\\n  </charge-info>\\n</charge>\",\n      \"language\": \"xml\",\n      \"name\": \"with Apple Pay\"\n    },\n    {\n      \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"yes\\\"?>\\n<charge xmlns=\\\"http://ws.plimus.com\\\">\\n    <vaulted-shopper-id>22220063</vaulted-shopper-id>\\n    <transaction-id>1011791571</transaction-id>\\n    <transaction-date>2017-10-12</transaction-date>\\n    <amount>45.00</amount>\\n    <currency>EUR</currency>\\n    <soft-descriptor>BLS&#x2a;testing</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>Sep165925</mandate-id>\\n                <mandate-date>12-Oct-17</mandate-date>\\n                <pre-notification-text>The amount of 45.00 EUR will be collected using SEPA Direct Debit with Mandate Sep165925 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>\\n                <pre-notification-translation-ref>https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011791571</pre-notification-translation-ref>\\n            </sepa-direct-debit>\\n        </sepa-direct-debit-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      \"language\": \"xml\",\n      \"name\": \"with SEPA Direct Debit\"\n    }\n  ]\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 Merchant-Managed Subscription: with credit card\nThis example shows a Create Merchant-Managed Subscription request with a credit card and a new shopper, with details about the shopper and their payment method. \n\n###Create Merchant-Managed Subscription: with Apple Pay\nThis example shows a Create Merchant-Managed Subscription request with an Apple Pay wallet. In the request, include `encoded-payment-token` inside `payment-source` > `wallet` > `apple-pay`. See the [Apple Pay Guide](/v1.0/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](/v1.0/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 Merchant-Managed Subscription: with SEPA Direct Debit\nThis example shows a Create Merchant-Managed 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](/v1.0/docs/sepa-direct-debit#section-step-1-collect-a-mandate-acceptance-from-your-shopper).\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) and the `processing-status` value changes to **SUCCESS**. You will be informed of the subscription ID via `Charge` webhook or via [Retrieve Specific Charge](doc:retrieve-specific-charge) request. \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**: 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\": \"<charge xmlns=\\\"http://ws.plimus.com\\\">\\n  <amount>45</amount>\\n  <currency>USD</currency>\\n  <payer-info>\\n    <first-name>John</first-name>\\n    <last-name>Doe</last-name>\\n    <zip>12345</zip>\\n    <country>us</country>\\n  </payer-info>\\n  <payment-source>\\n    <credit-card-info>\\n      <credit-card>\\n        <card-number>4012000033330026</card-number>\\n        <security-code>111</security-code>\\n        <expiration-month>05</expiration-month>\\n        <expiration-year>2018</expiration-year>\\n      </credit-card>\\n    </credit-card-info>\\n  </payment-source>\\n</charge>\",\n      \"language\": \"xml\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"create-merchant-managed-subscription","type":"endpoint","title":"Create Merchant-Managed Subscription"}

postCreate Merchant-Managed Subscription


Definition

{{ api_url }}{{ page_api_url }}

Documentation

If you manage your own subscriptions, the Create Merchant-Managed Subscription request enables you to set up a merchant-managed subscription, which associates an initial subscription charge with all recurring charges.

To process recurring subscription charges, you'll send a Create Merchant-Managed Subscription Charge request.

See the guide on using merchant-managed subscriptions

For more information on working with merchant-managed subscriptions, see Merchant-Managed Subscriptions.

Try it in the API Explorer

Request Content

charge container    required, contains the following properties (see charge):
      amount decimal    required for SEPA Direct Debit; optional otherwise
      currency string    required
      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)
      soft-descriptor string    optional
      descriptor-phone-number string    optional
      authorized-by-shopper     boolean   required for SEPA Direct Debit   value must be true
      transaction-fraud-info container    optional (see transaction-fraud-info)

Response Details

If successful, the response HTTP status code is 200 OK.
The response body contains the charge resource.
The subscription-id appears in the response body (unless payment source was SEPA Direct Debit).


Examples

Request Examples

curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/ondemand \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<charge xmlns="http://ws.plimus.com">
  <amount>45</amount>
  <currency>USD</currency>
  <payer-info>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <zip>12345</zip>
    <country>us</country>
  </payer-info>
  <payment-source>
    <credit-card-info>
      <credit-card>
        <card-number>4012000033330026</card-number>
        <security-code>111</security-code>
        <expiration-month>05</expiration-month>
        <expiration-year>2018</expiration-year>
      </credit-card>
    </credit-card-info>
  </payment-source>
</charge>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/ondemand \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<charge xmlns="http://ws.plimus.com">
  <amount>45</amount>
  <currency>USD</currency>
  <payment-source>
    <wallet>
      <apple-pay>
        <encoded-payment-token>eyJ0b2tliZ2l2ZW5OYW1lIjoiTG9kIiwiY291bnRye…</encoded-payment-token>
      </apple-pay>
    </wallet>
  </payment-source>
</charge>'
curl -v -X POST https://sandbox.bluesnap.com/services/2/recurring/ondemand \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<charge xmlns="http://ws.plimus.com">
  <amount>45</amount>
  <currency>EUR</currency>
  <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>
  </payer-info>
  <payment-source>
    <sepa-direct-debit-info>
      <sepa-direct-debit>
        <iban>DE09100100101234567893</iban>
      </sepa-direct-debit>
    </sepa-direct-debit-info>
  </payment-source>
</charge>'

Response Examples

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<charge xmlns="http://ws.plimus.com">
  <charge-id>6198862</charge-id>
  <subscription-id>8129231</subscription-id>
  <vaulted-shopper-id>22220051</vaulted-shopper-id>
  <transaction-id>1011791561</transaction-id>
  <transaction-date>2017-10-12</transaction-date>
  <amount>45.00</amount>
  <currency>USD</currency>
  <soft-descriptor>BLS&#x2a;testing</soft-descriptor>
  <payment-source>
    <credit-card-info>
      <credit-card>
        <card-last-four-digits>0026</card-last-four-digits>
        <card-type>VISA</card-type>
        <card-sub-type>CREDIT</card-sub-type>
        <card-category>CLASSIC</card-category>
        <expiration-month>05</expiration-month>
        <expiration-year>2018</expiration-year>
      </credit-card>
    </credit-card-info>
  </payment-source>
  <charge-info>
    <charge-type>INITIAL</charge-type>
  </charge-info>
</charge>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<charge xmlns="http://ws.plimus.com">
  <charge-id>165323</charge-id>
  <subscription-id>39518448</subscription-id>
  <vaulted-shopper-id>19559630</vaulted-shopper-id>
  <transaction-id>38492608</transaction-id>
  <transaction-date>2017-10-13</transaction-date>
  <amount>45.00</amount>
  <currency>USD</currency>
  <soft-descriptor>BLS&#x2a;BlueSnap</soft-descriptor>
  <payment-source>
    <wallet>
      <billing-contact-info>
        <first-name>Jane</first-name>
        <last-name>Shopper</last-name>
        <address1>800 South St</address1>
        <city>Waltham</city>
        <zip>02453</zip>
        <country>us</country>
      </billing-contact-info>
      <apple-pay>
        <card-last-four-digits>0492</card-last-four-digits>
        <card-type>VISA</card-type>
        <card-sub-type>DEBIT</card-sub-type>
        <dpan-last-four-digits>6889</dpan-last-four-digits>
        <dpan-expiration-month>11</dpan-expiration-month>
        <dpan-expiration-year>2025</dpan-expiration-year>
      </apple-pay>
    </wallet>
  </payment-source>
  <charge-info>
    <charge-type>INITIAL</charge-type>
  </charge-info>
</charge>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<charge xmlns="http://ws.plimus.com">
    <vaulted-shopper-id>22220063</vaulted-shopper-id>
    <transaction-id>1011791571</transaction-id>
    <transaction-date>2017-10-12</transaction-date>
    <amount>45.00</amount>
    <currency>EUR</currency>
    <soft-descriptor>BLS&#x2a;testing</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>Sep165925</mandate-id>
                <mandate-date>12-Oct-17</mandate-date>
                <pre-notification-text>The amount of 45.00 EUR will be collected using SEPA Direct Debit with Mandate Sep165925 from your bank account IBAN DE09XXXXXX7893 in the next few days. Please ensure sufficient funds in your account.</pre-notification-text>
                <pre-notification-translation-ref>https://sandbox.bluesnap.com/services/2/translations/sepa/prenotification?transactionid=1011791571</pre-notification-translation-ref>
            </sepa-direct-debit>
        </sepa-direct-debit-info>
    </payment-source>
    <charge-info>
        <charge-type>INITIAL</charge-type>
    </charge-info>
    <processing-info>
        <processing-status>PENDING</processing-status>
    </processing-info>
</charge>

Back to Top


Example Descriptions

Create Merchant-Managed Subscription: with credit card

This example shows a Create Merchant-Managed Subscription request with a credit card and a new shopper, with details about the shopper and their payment method.

Create Merchant-Managed Subscription: with Apple Pay

This example shows a Create Merchant-Managed Subscription request with an Apple Pay wallet. In the request, include encoded-payment-token inside payment-source > wallet > apple-pay. See 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 Merchant-Managed Subscription: with SEPA Direct Debit

This example shows a Create Merchant-Managed 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.

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) and the processing-status value changes to SUCCESS. You will be informed of the subscription ID via Charge webhook or via Retrieve Specific Charge request.



Back to Top


API Explorer

To test out a call, enter the XML portion of the request below and then click Try it!

Tip: 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.

<charge xmlns="http://ws.plimus.com">
  <amount>45</amount>
  <currency>USD</currency>
  <payer-info>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <zip>12345</zip>
    <country>us</country>
  </payer-info>
  <payment-source>
    <credit-card-info>
      <credit-card>
        <card-number>4012000033330026</card-number>
        <security-code>111</security-code>
        <expiration-month>05</expiration-month>
        <expiration-year>2018</expiration-year>
      </credit-card>
    </credit-card-info>
  </payment-source>
</charge>

User Information

Try It Out


post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}