{
    "firstName": "{{ billing.first_name }}",
    "lastName": "{{ billing.last_name }}",
    "address1": "{{ billing.address_1 }}",
    "address2": "{{ billing.address_2 }}",
    "postalCode": "{{ billing.postcode }}",
    "city": "{{ billing.city }}",
    "state": "{{ billing.state }}",
    "country": "{{ billing.country }}",
    "emailAddress": "{{ billing.email }}",
    "phoneNumber": "{{ billing.phone }}",
    "shipFirstName": "{{ shipping.first_name }}",
    "shipLastName": "{{ shipping.last_name }}",
    "shipAddress1": "{{ shipping.address_1 }}",
    "shipAddress2": "{{ shipping.address_2 }}",
    "shipPostalCode": "{{ shipping.postcode }}",
    "shipCity": "{{ shipping.city }}",
    "shipState": "{{ shipping.state }}",
    "shipCountry": "{{ shipping.country }}",
    "paySource": "{{ pay_source }}",
    "campaignId": "{{ config.campaign_id }}",
    "{% cart_items %}": {
        "product{#}_id": "connection_product_id",
        "product{#}_qty": "qty",
        "product{#}_price": "price",
        "product{#}_shipPrice": "shipPrice",
        "variant{#}_id": "variant_id"
    },
    "cardNumber": "{{ card.number }}",
    "cardSecurityCode": "{{ card.cvc }}",
    "cardMonth": "{{ card.exp_month }}",
    "cardYear": "{{ card.exp_year }}",
    "shipProfileId": "{{ config.shipping_id }}",
    "ipAddress": "{{ ip_address }}",
	"affId" : "{{ affiliate_param.affId }}",
    "sourceValue1" : "{{ affiliate_param.sourceValue1 }}",
    "sourceValue2" : "{{ affiliate_param.sourceValue2 }}",
    "sourceValue3" : "{{ affiliate_param.sourceValue3 }}",
    "sourceValue4" : "{{ affiliate_param.sourceValue4 }}",
    "sourceValue5" : "{{ affiliate_param.sourceValue5 }}",
    "custom1" : "{{ affiliate_param.c1 }}",
    "custom2" : "{{ affiliate_param.c2 }}",
    "custom3" : "{{ affiliate_param.c3 }}",
    "custom4" : "{{ affiliate_param.c4 }}",
    "custom5" : "{{ affiliate_param.c5 }}"
}