forked from blacklightcms/recurly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpurchase.xml
56 lines (56 loc) · 1.89 KB
/
purchase.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="UTF-8"?>
<purchase>
<account>
<account_code>c442b36c-c64f-41d7-b8e1-9c04e7a6ff82</account_code>
<billing_info>
<first_name>Benjamin</first_name>
<last_name>Du Monde</last_name>
<address1>400 Alabama St</address1>
<city>San Francisco</city>
<state>CA</state>
<zip>94110</zip>
<country>US</country>
<number>4111111111111111</number>
<month>12</month>
<year>2019</year>
</billing_info>
<shipping_addresses>
<shipping_address>
<first_name>Lon</first_name>
<last_name>Doner</last_name>
<nickname>Home</nickname>
<address1>221B Baker St.</address1>
<city>London</city>
<state></state>
<zip>W1K 6AH</zip>
<country>GB</country>
</shipping_address>
</shipping_addresses>
</account>
<adjustments>
<adjustment>
<description>Description of this adjustment</description>
<product_code>4549449c-5870-4845-b672-1d07f15e87dd</product_code>
<unit_amount_in_cents>1000</unit_amount_in_cents>
<quantity>1</quantity>
</adjustment>
</adjustments>
<collection_method>automatic</collection_method>
<currency>USD</currency>
<gift_card>
<redemption_code>ABC1234</redemption_code>
</gift_card>
<coupon_codes>
<coupon_code>coupon1</coupon_code>
<coupon_code>coupon2</coupon_code>
</coupon_codes>
<subscriptions>
<subscription>
<plan_code>plan1</plan_code>
</subscription>
</subscriptions>
<customer_notes>Some notes for the customer.</customer_notes>
<terms_and_conditions>Our company terms and conditions.</terms_and_conditions>
<vat_reverse_charge_notes>Vat reverse charge notes.</vat_reverse_charge_notes>
<gateway_code>test-gateway-code</gateway_code>
</purchase>