Skip to content

Instantly share code, notes, and snippets.

@alexanderfrankel
Last active July 31, 2020 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexanderfrankel/6c4604d77f18d7d1b881de5d4b21a5f5 to your computer and use it in GitHub Desktop.
Save alexanderfrankel/6c4604d77f18d7d1b881de5d4b21a5f5 to your computer and use it in GitHub Desktop.
generate_bills_request
{
"occupancy_id" => "123",
"billing_type" => "zuora",
"payers" => [
{
"id" => "123",
"name" => "asd",
"email" => "asd@example.com"
},
{
"id" => "456",
"name" => "fgh",
"email" => "fgh@example.com"
},
{
"id" => "789",
"name" => "GOV",
"email" => "gov@example.com"
}
],
"collateral_fee" => {
"type" => "security_deposit",
"payer_amounts" => [
{
"payer_email" => "asd@example.com",
"amount_cents" => "750_00"
},
{
"payer_email" => "fgh@example.com",
"amount_cents" => "750_00"
},
{
"payer_email" => "gov@example.com",
"amount_cents" => "0"
}
]
},
"recurring_fees" => [
{
"id" => "123",
"type" => "occupancy_fee",
"payer_amounts" => [
{
"payer_email" => "asd@example.com",
"amount_cents" => "250_00"
},
{
"payer_email" => "fgh@example.com",
"amount_cents" => "250_00"
},
{
"payer_email" => "gov@example.com",
"amount_cents" => "1000_00"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment