Skip to content

Instantly share code, notes, and snippets.

@alexanderfrankel
Last active July 31, 2020 18:55
Show Gist options
  • Save alexanderfrankel/9bf7e4273b7487da3d05e731c34bbc75 to your computer and use it in GitHub Desktop.
Save alexanderfrankel/9bf7e4273b7487da3d05e731c34bbc75 to your computer and use it in GitHub Desktop.
get_occupancy_response
{
"occupancy_id" => "123",
"billing_type" => "zuora",
"payers" => [
{
"id" => "123",
"name" => "asd",
"email" => "[email protected]",
"split_percentage" => "50",
"flat_amount_cents" => ""
},
{
"id" => "456",
"name" => "fgh",
"email" => "[email protected]",
"split_percentage" => "50",
"flat_amount_cents" => ""
},
{
"id" => "789",
"name" => "GOV",
"email" => "[email protected]",
"split_percentage" => "",
"flat_amount_cents" => "1000_00"
}
],
"collateral_fee" => {
"type" => "security_deposit",
"payer_amounts" => [
{
"payer_email" => "[email protected]",
"amount_cents" => "750_00"
},
{
"payer_email" => "[email protected]",
"amount_cents" => "750_00"
},
{
"payer_email" => "[email protected]",
"amount_cents" => "0"
}
]
},
"recurring_fees" => [
{
"id" => "123",
"type" => "occupancy_fee",
"payer_amounts" => [
{
"payer_email" => "[email protected]",
"amount_cents" => "250_00"
},
{
"payer_email" => "[email protected]",
"amount_cents" => "250_00"
},
{
"payer_email" => "[email protected]",
"amount_cents" => "1000_00"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment