{
    "apis": [
        {
            "method": "GET",
            "endpoint": "extended_credit_invoice_groups",
            "return": "ExtendedCreditInvoiceGroup",
            "params": []
        },
        {
            "method": "POST",
            "endpoint": "extended_credit_invoice_groups",
            "return": "ExtendedCreditInvoiceGroup",
            "params": [
                {
                    "name": "emails",
                    "required": true,
                    "type": "list<string>"
                },
                {
                    "name": "name",
                    "required": true,
                    "type": "string"
                }
            ]
        },
        {
            "method": "GET",
            "endpoint": "owning_credit_allocation_configs",
            "return": "ExtendedCreditAllocationConfig",
            "params": [
                {
                    "name": "receiving_business_id",
                    "required": false,
                    "type": "string"
                }
            ]
        },
        {
            "method": "POST",
            "endpoint": "owning_credit_allocation_configs",
            "return": "ExtendedCreditAllocationConfig",
            "params": [
                {
                    "name": "amount",
                    "required": false,
                    "type": "Object"
                },
                {
                    "name": "liability_type",
                    "required": false,
                    "type": "extendedcreditowning_credit_allocation_configs_liability_type_enum_param"
                },
                {
                    "name": "partition_type",
                    "required": false,
                    "type": "extendedcreditowning_credit_allocation_configs_partition_type_enum_param"
                },
                {
                    "name": "receiving_business_id",
                    "required": true,
                    "type": "string"
                },
                {
                    "name": "send_bill_to",
                    "required": false,
                    "type": "extendedcreditowning_credit_allocation_configs_send_bill_to_enum_param"
                }
            ]
        },
        {
            "method": "POST",
            "endpoint": "whatsapp_credit_sharing_and_attach",
            "return": "Object",
            "params": [
                {
                    "name": "waba_currency",
                    "required": true,
                    "type": "string"
                },
                {
                    "name": "waba_id",
                    "required": true,
                    "type": "string"
                }
            ]
        },
        {
            "name": "#get",
            "method": "GET",
            "return": "ExtendedCredit",
            "params": []
        }
    ],
    "fields": [
        {
            "name": "allocated_amount",
            "type": "CurrencyAmount"
        },
        {
            "name": "balance",
            "type": "CurrencyAmount"
        },
        {
            "name": "credit_available",
            "type": "CurrencyAmount"
        },
        {
            "name": "credit_type",
            "type": "string"
        },
        {
            "name": "id",
            "type": "string"
        },
        {
            "name": "is_access_revoked",
            "type": "bool"
        },
        {
            "name": "is_automated_experience",
            "type": "bool"
        },
        {
            "name": "legal_entity_name",
            "type": "string"
        },
        {
            "name": "liable_address",
            "type": "CRMAddress"
        },
        {
            "name": "liable_biz_name",
            "type": "string"
        },
        {
            "name": "max_balance",
            "type": "CurrencyAmount"
        },
        {
            "name": "online_max_balance",
            "type": "CurrencyAmount"
        },
        {
            "name": "owner_business",
            "type": "Business"
        },
        {
            "name": "owner_business_name",
            "type": "string"
        },
        {
            "name": "partition_from",
            "type": "string"
        },
        {
            "name": "receiving_credit_allocation_config",
            "type": "ExtendedCreditAllocationConfig"
        },
        {
            "name": "send_bill_to_address",
            "type": "CRMAddress"
        },
        {
            "name": "send_bill_to_biz_name",
            "type": "string"
        },
        {
            "name": "sold_to_address",
            "type": "CRMAddress"
        }
    ]
}
