Create Payments Policies

POST https://api.ecartapi.com/api/v1/policies/payments

Request Body

{"policy"=>{"name"=>"V********t", "description"=>"Vehicle payment policy, $500 down, full in 7 days", "marketplaceId"=>"EBAY_US", "categoryTypes"=>[{"name"=>"MOTORS_VEHICLES", "default"=>true}], "immediatePay"=>false, "paymentInstructions"=>"A PayPal deposit of $500 is due in 48 hours, payment in full is due in 7 days.", "fullPaymentDueIn"=>{"value"=>7, "unit"=>"DAY"}, "deposit"=>{"amount"=>{"value"=>"500.00", "currency"=>"USD"}, "dueIn"=>{"value"=>48, "unit"=>"HOUR"}}, "paymentMethods"=>[{"paymentMethodType"=>"CASH_ON_PICKUP"}, {"paymentMethodType"=>"MONEY_ORDER"}, {"paymentMethodType"=>"CASHIER_CHECK"}]}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring