Created
December 5, 2012 15:19
-
-
Save arush/4216462 to your computer and use it in GitHub Desktop.
Recurly Push notifications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NEW ACCOUNT NOTIFICATION | |
<?xml version="1.0" encoding="UTF-8"?> | |
<new_account_notification> | |
<account> | |
<account_code>[email protected]</account_code> | |
<username nil="true"></username> | |
<email>[email protected]</email> | |
<first_name>a</first_name> | |
<last_name>a</last_name> | |
<company_name></company_name> | |
</account> | |
</new_account_notification> | |
// SUCCESSFUL PAYMENT NOTIFICATION | |
<?xml version="1.0" encoding="UTF-8"?> | |
<successful_payment_notification> | |
<account> | |
<account_code>[email protected]</account_code> | |
<username nil="true"></username> | |
<email>[email protected]</email> | |
<first_name>a</first_name> | |
<last_name>a</last_name> | |
<company_name></company_name> | |
</account> | |
<transaction> | |
<id>1cda65771519bcd11eb53f4f8f9227d1</id> | |
<invoice_id>1cda6576f5dcaf972a21b147c18f0869</invoice_id> | |
<invoice_number type="integer">1227</invoice_number> | |
<subscription_id>1cda65707f173f0cf7d95c4b9083137f</subscription_id> | |
<action>purchase</action> | |
<date type="datetime">2012-12-05T15:06:07Z</date> | |
<amount_in_cents type="integer">3295</amount_in_cents> | |
<status>success</status> | |
<message>Successful test transaction</message> | |
<reference>1177369</reference> | |
<source>subscription</source> | |
<cvv_result code="M">Match</cvv_result> | |
<avs_result code="D">Street address and postal code match.</avs_result> | |
<avs_result_street nil="true"></avs_result_street> | |
<avs_result_postal nil="true"></avs_result_postal> | |
<test type="boolean">true</test> | |
<voidable type="boolean">true</voidable> | |
<refundable type="boolean">true</refundable> | |
</transaction> | |
</successful_payment_notification> | |
// BILLING INFO UPDATED NOTIFICATION | |
<?xml version="1.0" encoding="UTF-8"?> | |
<billing_info_updated_notification> | |
<account> | |
<account_code>[email protected]</account_code> | |
<username nil="true"></username> | |
<email>[email protected]</email> | |
<first_name>a</first_name> | |
<last_name>a</last_name> | |
<company_name></company_name> | |
</account> | |
</billing_info_updated_notification> | |
// NEW SUBSCRIPTION NOTIFICATION | |
<?xml version="1.0" encoding="UTF-8"?> | |
<new_subscription_notification> | |
<account> | |
<account_code>[email protected]</account_code> | |
<username nil="true"></username> | |
<email>[email protected]</email> | |
<first_name>a</first_name> | |
<last_name>a</last_name> | |
<company_name></company_name> | |
</account> | |
<subscription> | |
<plan> | |
<plan_code>male-plan-trial</plan_code> | |
<name>BRANDiD Test Drive</name> | |
</plan> | |
<uuid>1cda65707f173f0cf7d95c4b9083137f</uuid> | |
<state>active</state> | |
<quantity type="integer">1</quantity> | |
<total_amount_in_cents type="integer">3295</total_amount_in_cents> | |
<activated_at type="datetime">2012-12-05T15:06:06Z</activated_at> | |
<canceled_at type="datetime"></canceled_at> | |
<expires_at type="datetime"></expires_at> | |
<current_period_started_at type="datetime">2012-12-05T15:06:06Z</current_period_started_at> | |
<current_period_ends_at type="datetime">2013-01-05T15:06:06Z</current_period_ends_at> | |
<trial_started_at type="datetime"></trial_started_at> | |
<trial_ends_at type="datetime"></trial_ends_at> | |
</subscription> | |
</new_subscription_notification> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment