Charge ceil(len/64)*400 IRT per recipient across OTP, customer, and partner SMS; seed new businesses with 500k IRT; default partner sends to the advertising line. Co-authored-by: Cursor <cursoragent@cursor.com>
7 lines
303 B
SQL
7 lines
303 B
SQL
-- SMS balance is prepaid IRT (not message counts).
|
|
-- Billing: ceil(message_length / 64) * 400 IRT per recipient
|
|
-- (login OTP, customer SMS, partner/public SMS, etc.).
|
|
|
|
COMMENT ON COLUMN businesses.sms_balance IS
|
|
'Prepaid SMS balance in IRT. Each 64-character segment costs 400 IRT per recipient.';
|