initialize transaction
POST {{baseUrl}}/v1/checkout-ui
Request Body
{"amount"=>500, "currency"=>"USD", "success_callback_url"=>"https://mywebiste.com/sucess", "cancel_callback_url"=>"https://mywebiste.com/cancel", "create_paymentsource"=>false, "recipient"=>{"first_name"=>"JOHN", "last_name"=>"DOE", "email"=>"jondoe@me.cash", "phone"=>"+15102639723", "address"=>{"apartment_no"=>"28", "street_address"=>"80, Mariupol", "city"=>"LA", "country_code"=>"US", "state"=>"California", "zip_code"=>"178023"}}, "items"=>[{"name"=>"Women Gucci Dress", "type"=>"Dress", "price"=>200, "category"=>"Clothing", "image"=>"https://link-to-image.com/", "brand"=>"Gucci", "size"=>"XL", "color"=>"Red", "quantity"=>2}]}
RESPONSES
status: OK
{"data":{"access_code":"f1a0d7","amount":500,"authorization_url":"https://connect.wafi.cash/f1a0d7","currency":"USD","id":"a2488b35-1e07-40cb-97ef-5c60f2df0a59","reference":"55d3e8f8-00a3-4a61-a0ea-5d20c8bd50ee"}}