-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
HTTP/1.1 200 OK | ||
Content-Type: application/xml; charset=utf-8 | ||
|
||
<?xml version="1.0" encoding="UTF-8"?> | ||
<transaction href="https://api.recurly.com/v2/transactions/abcdef1234567890"> | ||
<account href="https://api.recurly.com/v2/accounts/verena"/> | ||
<invoice href="https://api.recurly.com/v2/invoices/abcdef1234567890"/> | ||
<uuid>a13acd8fe4294916b79aec87b7ea441f</uuid> | ||
<action>purchase</action> | ||
<amount_in_cents type="integer">100</amount_in_cents> | ||
<tax_in_cents type="integer">0</tax_in_cents> | ||
<currency>USD</currency> | ||
<status>success</status> | ||
<payment_method>check</payment_method> | ||
<reference nil="nil"></reference> | ||
<source>transaction</source> | ||
<recurring type="boolean">false</recurring> | ||
<test type="boolean">true</test> | ||
<voidable type="boolean">true</voidable> | ||
<refundable type="boolean">false</refundable> | ||
<created_at type="datetime">2011-08-25T12:00:00Z</created_at> | ||
<details> | ||
<account> | ||
<account_code>1</account_code> | ||
<state>active</state> | ||
<username nil="nil"></username> | ||
<email>verena@example.com</email> | ||
<first_name>Verena</first_name> | ||
<last_name>Example</last_name> | ||
<company_name></company_name> | ||
<vat_number nil="nil"></vat_number> | ||
<tax_exempt type="boolean">false</tax_exempt> | ||
<address> | ||
<address1>123 Main St.</address1> | ||
<address2 nil="nil"></address2> | ||
<city>San Francisco</city> | ||
<state>CA</state> | ||
<zip>94105</zip> | ||
<country>US</country> | ||
<phone nil="nil"></phone> | ||
</address> | ||
</account> | ||
</details> | ||
<a name="refund" href="https://api.recurly.com/v2/transactions/abcdef1234567890" method="delete"/> | ||
</transaction> |
This file contains 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
This file contains 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