When I include level3 information within the request payload, I always get 400 bad request error. I double, triple checked the spelling, and couldn't find anything wrong. BTW, if I remove the level3 information completely, the request can be completed. The payload looks like this(php dump):
(
[merchant_ref] => Test Test
[method] => credit_card
[transaction_type] => authorize
[amount] => 14260
[currency_code] => USD
[credit_card] => Array
(
[type] => visa
[cardholder_name] => test
[card_number] => 4012000033330026
[exp_date] => 1018
[cvv] => 999
)
[billing_address] => Array
(
[city] => test
[country] => US
[email] => test@gmail.com
[phone] => Array
(
[type] => D
[number] => 1234567890
)
[street] => test rd,Apt. TEST
[state_province] => OH
[zip_postal_code] => 45822
)
[soft_descriptors] => Array
(
[dba_name] => test
[street] => test
[city] => test
[region] => OH
[postal_code] => 45828
[country_code] => US
[merchant_contact_info] => test test
)
[level2] => Array
(
[tax1_amount] => 964
)
[level3] => Array
(
[freight_amount] => 1597
[ship_to_address] => Array
(
[city] => test
[state] => test
[zip] => 45822
[country] => US
[email] => test@gmail.com
[name] =>
[phone] => 1234567890
[address_1] => test rd
[customer_number] => 800001513
)
)
)
Any idea will be appreciated!